summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMonsta <[email protected]>2015-01-11 21:29:32 +0300
committerStefano Karapetsas <[email protected]>2015-01-12 10:51:21 +0100
commitb1e79889bcb1735c079ff563ab4960fe92338538 (patch)
treea0a96a631c0002faa4a20a7241364c47dc366060
parent9debdfd74098b6db239552a886951430f9311281 (diff)
downloadmate-netbook-b1e79889bcb1735c079ff563ab4960fe92338538.tar.bz2
mate-netbook-b1e79889bcb1735c079ff563ab4960fe92338538.tar.xz
window picker applet: use mate_gdk_spawn_command_line_on_screen always
Closes https://github.com/mate-desktop/mate-netbook/pull/15
-rw-r--r--mate-window-picker-applet/task-title.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/mate-window-picker-applet/task-title.c b/mate-window-picker-applet/task-title.c
index e81dfd3..2b77ffc 100644
--- a/mate-window-picker-applet/task-title.c
+++ b/mate-window-picker-applet/task-title.c
@@ -23,11 +23,9 @@
#include <libwnck/libwnck.h>
#include <mate-panel-applet.h>
-#if GTK_CHECK_VERSION (3, 0, 0)
#include <math.h>
#define MATE_DESKTOP_USE_UNSTABLE_API
#include <libmate-desktop/mate-desktop-utils.h>
-#endif
#include "task-list.h"
@@ -76,12 +74,8 @@ on_close_clicked (GtkButton *button,
if (!WNCK_IS_WINDOW (window)
|| wnck_window_get_window_type (window) == WNCK_WINDOW_DESKTOP)
{
-#if GTK_CHECK_VERSION (3, 0, 0)
mate_gdk_spawn_command_line_on_screen (gdk_screen_get_default (),
-#else
- gdk_spawn_command_line_on_screen (gdk_screen_get_default (),
-#endif
- LOGOUT, NULL);
+ LOGOUT, NULL);
}
else
{