diff options
author | infirit <[email protected]> | 2014-05-18 00:01:57 +0200 |
---|---|---|
committer | infirit <[email protected]> | 2014-05-20 14:51:21 +0200 |
commit | 1f3832e19b9e40f332999f3622d55a13efcd3b7b (patch) | |
tree | 2b8c9b430bb6e0b6a4f27b4b844430901f9abc0f /mate-session/gsm-manager.c | |
parent | 571a263ee76edf93ef466fd636792761d6d44484 (diff) | |
download | mate-session-manager-1f3832e19b9e40f332999f3622d55a13efcd3b7b.tar.bz2 mate-session-manager-1f3832e19b9e40f332999f3622d55a13efcd3b7b.tar.xz |
Always use g_spawn_command_line_sync
Diffstat (limited to 'mate-session/gsm-manager.c')
-rw-r--r-- | mate-session/gsm-manager.c | 12 |
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); |