diff options
author | Sebastien Bacher <seb128@ubuntu.com> | 2010-02-04 17:57:07 -0800 |
---|---|---|
committer | Sebastien Bacher <seb128@ubuntu.com> | 2010-02-04 17:57:07 -0800 |
commit | 1204ae96cae80c5ab4fd0d41483310f9b82efa28 (patch) | |
tree | 105380765021f8be9bc1295a86a18c1eeb3063cd /src/lock-helper.c | |
parent | 1e460db90b903c62e8e9c31047e2c675ad432d55 (diff) | |
parent | e9698bb4739ec4894736037234e93d4ce0e06623 (diff) | |
download | ayatana-indicator-session-1204ae96cae80c5ab4fd0d41483310f9b82efa28.tar.gz ayatana-indicator-session-1204ae96cae80c5ab4fd0d41483310f9b82efa28.tar.bz2 ayatana-indicator-session-1204ae96cae80c5ab4fd0d41483310f9b82efa28.zip |
releasing version 0.2.1-0ubuntu1
Diffstat (limited to 'src/lock-helper.c')
-rw-r--r-- | src/lock-helper.c | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/src/lock-helper.c b/src/lock-helper.c index 02d0f96..f9c46cc 100644 --- a/src/lock-helper.c +++ b/src/lock-helper.c @@ -250,11 +250,10 @@ build_gss_proxy (void) DBusGConnection * session_bus = dbus_g_bus_get(DBUS_BUS_SESSION, NULL); g_return_if_fail(session_bus != NULL); - gss_proxy = dbus_g_proxy_new_for_name_owner(session_bus, - "org.gnome.ScreenSaver", - "/", - "org.gnome.ScreenSaver", - NULL); + gss_proxy = dbus_g_proxy_new_for_name(session_bus, + "org.gnome.ScreenSaver", + "/", + "org.gnome.ScreenSaver"); g_return_if_fail(gss_proxy != NULL); dbus_g_proxy_add_signal(gss_proxy, "ActiveChanged", G_TYPE_BOOLEAN, G_TYPE_INVALID); @@ -281,7 +280,7 @@ activate_timeout (gpointer data) /* A fun little function to actually lock the screen. If, that's what you want, let's do it! */ void -lock_screen (DbusmenuMenuitem * mi, gpointer data) +lock_screen (DbusmenuMenuitem * mi, guint timestamp, gpointer data) { g_debug("Lock Screen"); if (!will_lock_screen()) { |