Skip to content

Commit

Permalink
check for GTK+ release, not pre-release
Browse files Browse the repository at this point in the history
  • Loading branch information
monsta committed Aug 31, 2015
1 parent d5304e0 commit f163265
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion applets/brightness/brightness-applet.c
Expand Up @@ -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);
Expand Down

0 comments on commit f163265

Please sign in to comment.