summaryrefslogtreecommitdiff
path: root/src/tools
diff options
context:
space:
mode:
authormonsta <[email protected]>2018-01-27 23:29:02 +0300
committerraveit65 <[email protected]>2018-01-28 16:15:18 +0100
commit16de6ccd2906b93f79880612b31a12a1e53557c7 (patch)
treec1643f9e04908007ee58457f7532225a9f56d7bd /src/tools
parent4525d9b629ed76df0bc7d9b10b52c990fa112351 (diff)
downloadmarco-16de6ccd2906b93f79880612b31a12a1e53557c7.tar.bz2
marco-16de6ccd2906b93f79880612b31a12a1e53557c7.tar.xz
require GTK+ 3.22 and GLib 2.50
Diffstat (limited to 'src/tools')
-rw-r--r--src/tools/marco-window-demo.c6
1 files changed, 0 insertions, 6 deletions
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);