summaryrefslogtreecommitdiff
path: root/libslab
diff options
context:
space:
mode:
authorStefano Karapetsas <[email protected]>2014-01-24 20:58:43 +0100
committerStefano Karapetsas <[email protected]>2014-01-24 20:58:43 +0100
commit3ca08cb10bd7650d771da98c457460556cc43db5 (patch)
tree507ff3d59727a88198c2dac26c8232e475774887 /libslab
parent05fc0e66fe3b2155182b9d90b0b5c1d0ec08881e (diff)
downloadmate-control-center-3ca08cb10bd7650d771da98c457460556cc43db5.tar.bz2
mate-control-center-3ca08cb10bd7650d771da98c457460556cc43db5.tar.xz
Fixes for GTK2
Diffstat (limited to 'libslab')
-rw-r--r--libslab/app-resizer.c2
-rw-r--r--libslab/shell-window.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/libslab/app-resizer.c b/libslab/app-resizer.c
index 17cac755..8a2f1df6 100644
--- a/libslab/app-resizer.c
+++ b/libslab/app-resizer.c
@@ -253,7 +253,7 @@ app_resizer_size_allocate (GtkWidget * widget, GtkAllocation * allocation)
#if GTK_CHECK_VERSION (3, 0, 0)
gtk_widget_get_preferred_size (GTK_WIDGET (resizer->cached_tables_list->data), other_requisiton, NULL);
#else
- other_requisiton = &GTK_WIDGET (resizer->cached_tables_list->data)->child_requisition;
+ other_requisiton = &GTK_WIDGET (resizer->cached_tables_list->data)->requisition;
#endif
useable_area =
diff --git a/libslab/shell-window.c b/libslab/shell-window.c
index 3bedcc21..1c643e00 100644
--- a/libslab/shell-window.c
+++ b/libslab/shell-window.c
@@ -101,7 +101,7 @@ shell_window_handle_size_request (GtkWidget * widget, GtkRequisition * requisiti
#if GTK_CHECK_VERSION (3, 0, 0)
gtk_widget_get_preferred_size (GTK_WIDGET (APP_RESIZER (app_data->category_layout)->child), child_requisiton, NULL);
#else
- child_requisiton = GTK_WIDGET (APP_RESIZER (app_data->category_layout)->child)->requisition;
+ child_requisiton = &GTK_WIDGET (APP_RESIZER (app_data->category_layout)->child)->requisition;
#endif
/*