summaryrefslogtreecommitdiff
path: root/mate-session/gsm-manager.c
diff options
context:
space:
mode:
Diffstat (limited to 'mate-session/gsm-manager.c')
-rw-r--r--mate-session/gsm-manager.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/mate-session/gsm-manager.c b/mate-session/gsm-manager.c
index eda565b..15a1090 100644
--- a/mate-session/gsm-manager.c
+++ b/mate-session/gsm-manager.c
@@ -1041,13 +1041,7 @@ manager_switch_user (GsmManager *manager)
MDM_FLEXISERVER_ARGS);
error = NULL;
-#if GTK_CHECK_VERSION (3, 0, 0)
res = g_spawn_command_line_sync (command, NULL, NULL, NULL, &error);
-#else
- res = gdk_spawn_command_line_on_screen (gdk_screen_get_default (),
- command,
- &error);
-#endif
g_free (command);
@@ -1063,13 +1057,7 @@ manager_switch_user (GsmManager *manager)
GDM_FLEXISERVER_ARGS);
error = NULL;
-#if GTK_CHECK_VERSION (3, 0, 0)
res = g_spawn_command_line_sync (command, NULL, NULL, NULL, &error);
-#else
- res = gdk_spawn_command_line_on_screen (gdk_screen_get_default (),
- command,
- &error);
-#endif
g_free (command);