summaryrefslogtreecommitdiff
path: root/applets
diff options
context:
space:
mode:
authorMartin Wimpress <[email protected]>2015-08-31 17:45:35 +0100
committerMartin Wimpress <[email protected]>2015-08-31 17:45:35 +0100
commitb8a3bbbe2c22bfe2d91a305f1facc829889a4022 (patch)
treefb36517b18e9d0caf1c991618345b2ca268a05c0 /applets
parentd5304e0637b31a961a5ceb8a6a5b448577d5990f (diff)
parentf163265d7cf40e9f9c263f3dde4f47401f14cd10 (diff)
downloadmate-power-manager-b8a3bbbe2c22bfe2d91a305f1facc829889a4022.tar.bz2
mate-power-manager-b8a3bbbe2c22bfe2d91a305f1facc829889a4022.tar.xz
Merge pull request #163 from monsta/check
check for GTK+ release, not pre-release
Diffstat (limited to 'applets')
-rw-r--r--applets/brightness/brightness-applet.c2
1 files changed, 1 insertions, 1 deletions
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);