From 16de6ccd2906b93f79880612b31a12a1e53557c7 Mon Sep 17 00:00:00 2001 From: monsta Date: Sat, 27 Jan 2018 23:29:02 +0300 Subject: require GTK+ 3.22 and GLib 2.50 --- src/tools/marco-window-demo.c | 6 ------ 1 file changed, 6 deletions(-) (limited to 'src/tools') diff --git a/src/tools/marco-window-demo.c b/src/tools/marco-window-demo.c index 8f8041c4..8b3d8e43 100644 --- a/src/tools/marco-window-demo.c +++ b/src/tools/marco-window-demo.c @@ -663,7 +663,6 @@ dock_cb (GSimpleAction *action, } } -#if GTK_CHECK_VERSION (3, 16, 0) static void override_background_color (GtkWidget *widget, GdkRGBA *rgba) @@ -683,7 +682,6 @@ override_background_color (GtkWidget *widget, GTK_STYLE_PROVIDER_PRIORITY_APPLICATION); g_object_unref (provider); } -#endif static void desktop_cb (GSimpleAction *action, @@ -707,11 +705,7 @@ desktop_cb (GSimpleAction *action, desktop_color.blue = 0.65; desktop_color.alpha = 1.0; -#if GTK_CHECK_VERSION (3, 16, 0) override_background_color (window, &desktop_color); -#else - gtk_widget_override_background_color (window, 0, &desktop_color); -#endif label = focus_label (window); -- cgit v1.2.1