forked from pool/gnome-settings-daemon
fixup
OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/gnome-settings-daemon?expand=0&rev=222
This commit is contained in:
parent
9e8af56684
commit
d9dbe7df2a
@ -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) {
|
Loading…
Reference in New Issue
Block a user