diff options
author | Monsta <[email protected]> | 2015-01-12 13:37:31 +0300 |
---|---|---|
committer | Stefano Karapetsas <[email protected]> | 2015-01-13 12:02:15 +0100 |
commit | bfdf1a69c0837f7f58e8a397fd80f8826c526ef3 (patch) | |
tree | 59a95f068db1cb17532ecef0451aa545019f345a | |
parent | e264b67abd96f42fa77347e44a00afb174720619 (diff) | |
download | mate-control-center-bfdf1a69c0837f7f58e8a397fd80f8826c526ef3.tar.bz2 mate-control-center-bfdf1a69c0837f7f58e8a397fd80f8826c526ef3.tar.xz |
typing-break: use mate_gdk_spawn_command_line_on_screen always
Closes https://github.com/mate-desktop/mate-control-center/pull/139
-rw-r--r-- | typing-break/drwright.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/typing-break/drwright.c b/typing-break/drwright.c index 219ab19f..c526bec8 100644 --- a/typing-break/drwright.c +++ b/typing-break/drwright.c @@ -33,11 +33,8 @@ #include <libappindicator/app-indicator.h> #endif /* HAVE_APP_INDICATOR */ -#if GTK_CHECK_VERSION (3, 0, 0) #define MATE_DESKTOP_USE_UNSTABLE_API #include <libmate-desktop/mate-desktop-utils.h> -#define gdk_spawn_command_line_on_screen mate_gdk_spawn_command_line_on_screen -#endif #include "drwright.h" #include "drw-break-window.h" @@ -604,7 +601,7 @@ popup_preferences_cb (GtkAction *action, DrWright *dr) menu = gtk_ui_manager_get_widget (dr->ui_manager, "/Pop"); screen = gtk_widget_get_screen (menu); - if (!gdk_spawn_command_line_on_screen (screen, "mate-keyboard-properties --typing-break", &error)) { + if (!mate_gdk_spawn_command_line_on_screen (screen, "mate-keyboard-properties --typing-break", &error)) { GtkWidget *error_dialog; error_dialog = gtk_message_dialog_new (NULL, 0, |