summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormonsta <[email protected]>2016-02-15 11:17:46 +0300
committermonsta <[email protected]>2016-02-15 11:17:46 +0300
commit1757855fbe6180a12eb6b552533c8492f7f1e5a7 (patch)
tree4db07cb30b1233496783b152f23091f455e0fee1
parent71dc5b44d61b23d74e61a19bef99191aae7c09b0 (diff)
downloadmate-panel-1757855fbe6180a12eb6b552533c8492f7f1e5a7.tar.bz2
mate-panel-1757855fbe6180a12eb6b552533c8492f7f1e5a7.tar.xz
panel-profile: remove leftover that makes no sense
must be some issue during the last merge
-rw-r--r--mate-panel/panel-profile.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/mate-panel/panel-profile.c b/mate-panel/panel-profile.c
index 4646a617..fd81e8c9 100644
--- a/mate-panel/panel-profile.c
+++ b/mate-panel/panel-profile.c
@@ -1151,11 +1151,7 @@ get_toplevel_screen (char *toplevel_path)
display = gdk_display_get_default ();
-#if GTK_CHECK_VERSION (3, 0, 0)
- if (screen_n < 0) {
-#else
if (screen_n < 0 || screen_n >= gdk_display_get_n_screens (display)) {
-#endif
#if 0
g_warning (_("Panel '%s' is set to be displayed on screen %d which "
"is not currently available. Not loading this panel."),