From f163265d7cf40e9f9c263f3dde4f47401f14cd10 Mon Sep 17 00:00:00 2001 From: Monsta Date: Mon, 31 Aug 2015 17:57:50 +0300 Subject: check for GTK+ release, not pre-release --- applets/brightness/brightness-applet.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/applets/brightness/brightness-applet.c b/applets/brightness/brightness-applet.c index 55083bc..89373c9 100644 --- a/applets/brightness/brightness-applet.c +++ b/applets/brightness/brightness-applet.c @@ -653,7 +653,7 @@ gpm_applet_create_popup (GpmBrightnessApplet *applet) /* window */ applet->popup = gtk_window_new (GTK_WINDOW_POPUP); -#if !GTK_CHECK_VERSION (2, 90, 0) +#if !GTK_CHECK_VERSION (3, 0, 0) GTK_WIDGET_UNSET_FLAGS (applet->popup, GTK_TOPLEVEL); #endif gtk_window_set_type_hint (GTK_WINDOW(applet->popup), GDK_WINDOW_TYPE_HINT_UTILITY); -- cgit v1.2.1