diff options
author | Monsta <[email protected]> | 2015-01-12 14:45:12 +0300 |
---|---|---|
committer | Stefano Karapetsas <[email protected]> | 2015-01-14 07:57:10 +0100 |
commit | 81948fae67837b06e7fc6512f980e63a0e378240 (patch) | |
tree | 9f8a544822cfc53f39f16f9bbc0cfc3f75c1f813 /mate-panel/panel-action-button.c | |
parent | e7bf6c58a687f047ca570f53840a862898f2832a (diff) | |
download | mate-panel-81948fae67837b06e7fc6512f980e63a0e378240.tar.bz2 mate-panel-81948fae67837b06e7fc6512f980e63a0e378240.tar.xz |
use mate_gdk_spawn_command_line_on_screen always
Closes https://github.com/mate-desktop/mate-panel/pull/273
Diffstat (limited to 'mate-panel/panel-action-button.c')
-rw-r--r-- | mate-panel/panel-action-button.c | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/mate-panel/panel-action-button.c b/mate-panel/panel-action-button.c index c8c81e75..30e03541 100644 --- a/mate-panel/panel-action-button.c +++ b/mate-panel/panel-action-button.c @@ -33,10 +33,8 @@ #include <glib/gi18n.h> #include <gio/gio.h> -#if GTK_CHECK_VERSION (3, 0, 0) #define MATE_DESKTOP_USE_UNSTABLE_API #include <libmate-desktop/mate-desktop-utils.h> -#endif #include <libmate-desktop/mate-gsettings.h> #include <libpanel-util/panel-error.h> @@ -306,12 +304,7 @@ panel_action_connect_server (GtkWidget *widget) else command = g_strdup ("nemo-connect-server"); -#if GTK_CHECK_VERSION (3, 0, 0) - mate_gdk_spawn_command_line_on_screen (screen, command, -#else - gdk_spawn_command_line_on_screen (screen, command, -#endif - &error); + mate_gdk_spawn_command_line_on_screen (screen, command, &error); g_free (command); if (error) { |