summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--capplets/display/scrollarea.c2
-rw-r--r--libslab/app-resizer.c2
-rw-r--r--libslab/shell-window.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/capplets/display/scrollarea.c b/capplets/display/scrollarea.c
index 2076645c..5dfd2e7f 100644
--- a/capplets/display/scrollarea.c
+++ b/capplets/display/scrollarea.c
@@ -576,7 +576,7 @@ initialize_background (GtkWidget *widget,
cairo_paint (cr);
}
-#if GTK_CHECK_VERSION (3, 0, 0)
+#if !GTK_CHECK_VERSION (3, 0, 0)
static void
clip_to_region (cairo_t *cr, GdkRegion *region)
{
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
/*