iptables: bump to version 1.6.1
[buildroot-gz.git] / package / upower / 0001-daemon-fix-get_critical_action.patch
blob02fc55c48424981c675d1080d4048627080e76a6
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
11 [rebase on 0.99.4]
12 Signed-off-by: Romain Naour <romain.naour@gmail.com>
13 ---
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
19 --- a/src/up-daemon.c
20 +++ b/src/up-daemon.c
21 @@ -435,8 +435,8 @@ up_daemon_get_critical_action (UpExportedDaemon *skeleton,
22 GDBusMethodInvocation *invocation,
23 UpDaemon *daemon)
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));
29 return TRUE;
32 --
33 2.9.3