summaryrefslogtreecommitdiff
path: root/src/mate-screensaver-preferences.c
diff options
context:
space:
mode:
authormonsta <[email protected]>2015-12-22 12:18:22 +0300
committermonsta <[email protected]>2015-12-22 12:18:22 +0300
commit5c32ef035d8a18d865e8419d0cf2b8d932039b52 (patch)
tree13f671dc14dc37fa89a6cd2e976fbad0048aa0d5 /src/mate-screensaver-preferences.c
parent19cfcdd0df1d6a1d1c64b3b8c7d8b183316629bd (diff)
downloadmate-screensaver-5c32ef035d8a18d865e8419d0cf2b8d932039b52.tar.bz2
mate-screensaver-5c32ef035d8a18d865e8419d0cf2b8d932039b52.tar.xz
mate_gdk_spawn_command_line_on_screen can be used with any GTK+
Diffstat (limited to 'src/mate-screensaver-preferences.c')
-rw-r--r--src/mate-screensaver-preferences.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mate-screensaver-preferences.c b/src/mate-screensaver-preferences.c
index 62e9eaf..fb0d311 100644
--- a/src/mate-screensaver-preferences.c
+++ b/src/mate-screensaver-preferences.c
@@ -36,10 +36,10 @@
#include <gio/gio.h>
-#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
+
+#if GTK_CHECK_VERSION (3, 0, 0)
#include "gs-debug.h"
#endif
@@ -420,7 +420,7 @@ response_cb (GtkWidget *widget,
error = NULL;
- res = gdk_spawn_command_line_on_screen (gdk_screen_get_default (),
+ res = mate_gdk_spawn_command_line_on_screen (gdk_screen_get_default (),
GPM_COMMAND,
&error);
if (! res)