diff options
author | William Jon McCann <jmccann@redhat.com> | 2011-01-12 15:35:16 -0500 |
---|---|---|
committer | Ray Strode <rstrode@redhat.com> | 2011-01-18 17:42:51 -0500 |
commit | 9004c8bf88e5f2ad0884a6163228040114ce2516 (patch) | |
tree | 0978b7c8f2260eca43f3ed717f1e24f7b9748048 /utils/gdmflexiserver.c | |
parent | db8de4d655b644f6e21a0f69f21cd285cb2fbc32 (diff) | |
download | gdm-9004c8bf88e5f2ad0884a6163228040114ce2516.tar.gz |
Port to GTK3
https://bugzilla.gnome.org/show_bug.cgi?id=639284
Diffstat (limited to 'utils/gdmflexiserver.c')
-rw-r--r-- | utils/gdmflexiserver.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/utils/gdmflexiserver.c b/utils/gdmflexiserver.c index fdcbfb1c..41551a2a 100644 --- a/utils/gdmflexiserver.c +++ b/utils/gdmflexiserver.c @@ -116,7 +116,7 @@ maybe_lock_screen (void) screen = gdk_screen_get_default (); - if (! gdk_spawn_command_line_on_screen (screen, command, &error)) { + if (! g_spawn_command_line_async (command, &error)) { g_warning ("Cannot lock screen: %s", error->message); g_error_free (error); } @@ -125,7 +125,7 @@ maybe_lock_screen (void) if (! use_gscreensaver) { command = g_strdup ("xscreensaver-command -throttle"); - if (! gdk_spawn_command_line_on_screen (screen, command, &error)) { + if (! g_spawn_command_line_async (command, &error)) { g_warning ("Cannot disable screensaver engines: %s", error->message); g_error_free (error); } |