From 5c32ef035d8a18d865e8419d0cf2b8d932039b52 Mon Sep 17 00:00:00 2001 From: monsta Date: Tue, 22 Dec 2015 12:18:22 +0300 Subject: mate_gdk_spawn_command_line_on_screen can be used with any GTK+ --- src/gs-lock-plug.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/gs-lock-plug.c') diff --git a/src/gs-lock-plug.c b/src/gs-lock-plug.c index af3326b..0660882 100644 --- a/src/gs-lock-plug.c +++ b/src/gs-lock-plug.c @@ -38,11 +38,11 @@ #include #include -#if GTK_CHECK_VERSION (3, 0, 0) -#include #define MATE_DESKTOP_USE_UNSTABLE_API #include -#define gdk_spawn_command_line_on_screen mate_gdk_spawn_command_line_on_screen + +#if GTK_CHECK_VERSION (3, 0, 0) +#include #endif #ifdef WITH_KBD_LAYOUT_INDICATOR @@ -220,7 +220,7 @@ do_user_switch (GSLockPlug *plug) MDM_FLEXISERVER_ARGS); 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 (), command, &error); @@ -240,7 +240,7 @@ do_user_switch (GSLockPlug *plug) GDM_FLEXISERVER_ARGS); 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 (), command, &error); -- cgit v1.2.1