summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Pitt <martin.pitt@ubuntu.com>2016-02-23 09:51:07 +0100
committerMartin Pitt <martin.pitt@ubuntu.com>2016-02-23 09:51:07 +0100
commit28cee8e2845b094488c337c4ecfa84ada0b6be60 (patch)
tree80a9b03a1c4cc1274f122308ed3ffc788b0d8604
parentb68131796a338e24427a04d73ee7efd1745f01ee (diff)
daemon: fix get_critical_action()
Fix copy&paste error from e7e9156f that called the wrong _complete_ function for up_daemon_get_critical_action(). https://bugs.freedesktop.org/show_bug.cgi?id=94262
-rw-r--r--src/up-daemon.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/up-daemon.c b/src/up-daemon.c
index be14cbe..e95f904 100644
--- a/src/up-daemon.c
+++ b/src/up-daemon.c
@@ -435,8 +435,8 @@ up_daemon_get_critical_action (UpExportedDaemon *skeleton,
GDBusMethodInvocation *invocation,
UpDaemon *daemon)
{
- up_exported_daemon_complete_get_display_device (skeleton, invocation,
- up_backend_get_critical_action (daemon->priv->backend));
+ up_exported_daemon_complete_get_critical_action (skeleton, invocation,
+ up_backend_get_critical_action (daemon->priv->backend));
return TRUE;
}