fix-critical-action.patch 955 B

1234567891011121314151617181920212223242526272829
  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: daemon: fix get_critical_action()
  5. Fix copy&paste error from e7e9156f that called the wrong _complete_ function
  6. for up_daemon_get_critical_action().
  7. https://bugs.freedesktop.org/show_bug.cgi?id=94262
  8. diff --git a/src/up-daemon.c b/src/up-daemon.c
  9. index be14cbe..e95f904 100644
  10. --- a/src/up-daemon.c
  11. +++ b/src/up-daemon.c
  12. @@ -435,8 +435,8 @@ up_daemon_get_critical_action (UpExportedDaemon *skeleton,
  13. GDBusMethodInvocation *invocation,
  14. UpDaemon *daemon)
  15. {
  16. - up_exported_daemon_complete_get_display_device (skeleton, invocation,
  17. - up_backend_get_critical_action (daemon->priv->backend));
  18. + up_exported_daemon_complete_get_critical_action (skeleton, invocation,
  19. + up_backend_get_critical_action (daemon->priv->backend));
  20. return TRUE;
  21. }
  22. --
  23. cgit v0.10.2