1
0
Dominique Leuenberger 2015-06-22 13:18:15 +00:00 committed by Git OBS Bridge
parent 9e8af56684
commit d9dbe7df2a

View File

@ -1,18 +0,0 @@
Index: gnome-settings-daemon-3.12.0.1/plugins/screensaver-proxy/gsd-screensaver-proxy-manager.c
===================================================================
--- gnome-settings-daemon-3.12.0.1.orig/plugins/screensaver-proxy/gsd-screensaver-proxy-manager.c
+++ gnome-settings-daemon-3.12.0.1/plugins/screensaver-proxy/gsd-screensaver-proxy-manager.c
@@ -253,7 +253,12 @@ handle_method_call (GDBusConnection
} else if (g_strcmp0 (method_name, "UnThrottle") == 0) {
g_dbus_method_invocation_return_value (invocation, NULL);
} else if (g_strcmp0 (method_name, "Lock") == 0) {
- goto unimplemented;
+ GVariant *ret;
+ ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (G_DBUS_PROXY (manager->priv->session)),
+ "Lock",
+ NULL,
+ G_DBUS_CALL_FLAGS_NONE,
+ -1, NULL, NULL);
} else if (g_strcmp0 (method_name, "SimulateUserActivity") == 0) {
goto unimplemented;
} else if (g_strcmp0 (method_name, "GetActive") == 0) {