1 From 28cee8e2845b094488c337c4ecfa84ada0b6be60 Mon Sep 17 00:00:00 2001
2 From: Martin Pitt <martin.pitt@ubuntu.com>
3 Date: Tue, 23 Feb 2016 09:51:07 +0100
4 Subject: [PATCH] daemon: fix get_critical_action()
6 Fix copy&paste error from e7e9156f that called the wrong _complete_ function
7 for up_daemon_get_critical_action().
9 https://bugs.freedesktop.org/show_bug.cgi?id=94262
12 Signed-off-by: Romain Naour <romain.naour@gmail.com>
14 src/up-daemon.c | 4 ++--
15 1 file changed, 2 insertions(+), 2 deletions(-)
17 diff --git a/src/up-daemon.c b/src/up-daemon.c
18 index be14cbe..e95f904 100644
21 @@ -435,8 +435,8 @@ up_daemon_get_critical_action (UpExportedDaemon *skeleton,
22 GDBusMethodInvocation *invocation,
25 - up_exported_daemon_complete_get_display_device (skeleton, invocation,
26 - up_backend_get_critical_action (daemon->priv->backend));
27 + up_exported_daemon_complete_get_critical_action (skeleton, invocation,
28 + up_backend_get_critical_action (daemon->priv->backend));