From 19022217432b8ef3b256df98cf2ccc69d1855595 Mon Sep 17 00:00:00 2001 From: monsta Date: Thu, 29 Dec 2016 14:35:05 +0300 Subject: check for stable version of GTK+3, not for development one --- libcaja-private/caja-icon-container.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'libcaja-private/caja-icon-container.c') diff --git a/libcaja-private/caja-icon-container.c b/libcaja-private/caja-icon-container.c index e26a7837..66cfa4c9 100644 --- a/libcaja-private/caja-icon-container.c +++ b/libcaja-private/caja-icon-container.c @@ -4548,7 +4548,7 @@ realize (GtkWidget *widget) container = CAJA_ICON_CONTAINER (widget); /* Unless GTK 3.21 or later is in use and the desktop must be transparent*/ -#if !GTK_CHECK_VERSION(3, 21, 0) +#if !GTK_CHECK_VERSION (3, 22, 0) /* Ensure that the desktop window is native so the background set on it is drawn by X. */ if (container->details->is_desktop) @@ -6090,7 +6090,7 @@ popup_menu (GtkWidget *widget) return TRUE; } -#if !GTK_CHECK_VERSION(3, 21, 0) +#if !GTK_CHECK_VERSION (3, 22, 0) static void draw_canvas_background (EelCanvas *canvas, cairo_t *cr) @@ -6543,7 +6543,7 @@ caja_icon_container_class_init (CajaIconContainerClass *class) gtk_widget_class_set_accessible_type (widget_class, caja_icon_container_accessible_get_type ()); canvas_class = EEL_CANVAS_CLASS (class); -#if !GTK_CHECK_VERSION(3, 21, 0) +#if !GTK_CHECK_VERSION (3, 22, 0) canvas_class->draw_background = draw_canvas_background; #endif class->start_interactive_search = caja_icon_container_start_interactive_search; -- cgit v1.2.1