summaryrefslogtreecommitdiff
path: root/libcaja-private
diff options
context:
space:
mode:
authormonsta <[email protected]>2016-12-29 14:35:05 +0300
committermonsta <[email protected]>2016-12-29 14:35:05 +0300
commit19022217432b8ef3b256df98cf2ccc69d1855595 (patch)
treea609e84874a43d315f63d311dc53043c3836ee49 /libcaja-private
parent17895425eb9fc73e5a4d71f8321954d83f182137 (diff)
downloadcaja-19022217432b8ef3b256df98cf2ccc69d1855595.tar.bz2
caja-19022217432b8ef3b256df98cf2ccc69d1855595.tar.xz
check for stable version of GTK+3, not for development one
Diffstat (limited to 'libcaja-private')
-rw-r--r--libcaja-private/caja-icon-container.c6
1 files changed, 3 insertions, 3 deletions
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;