From b1e79889bcb1735c079ff563ab4960fe92338538 Mon Sep 17 00:00:00 2001 From: Monsta Date: Sun, 11 Jan 2015 21:29:32 +0300 Subject: window picker applet: use mate_gdk_spawn_command_line_on_screen always Closes https://github.com/mate-desktop/mate-netbook/pull/15 --- mate-window-picker-applet/task-title.c | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'mate-window-picker-applet/task-title.c') 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 #include -#if GTK_CHECK_VERSION (3, 0, 0) #include #define MATE_DESKTOP_USE_UNSTABLE_API #include -#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 { -- cgit v1.2.1