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

Generated by cgit