From 3ca08cb10bd7650d771da98c457460556cc43db5 Mon Sep 17 00:00:00 2001 From: Stefano Karapetsas Date: Fri, 24 Jan 2014 20:58:43 +0100 Subject: Fixes for GTK2 --- libslab/app-resizer.c | 2 +- libslab/shell-window.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'libslab') 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 = >K_WIDGET (resizer->cached_tables_list->data)->child_requisition; + other_requisiton = >K_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 = >K_WIDGET (APP_RESIZER (app_data->category_layout)->child)->requisition; #endif /* -- cgit v1.2.1