diff options
author | Omar Vega Ramos <ovruni@gnu.org.pe> | 2016-01-21 11:51:17 -0500 |
---|---|---|
committer | Omar Vega Ramos <ovruni@gnu.org.pe> | 2016-01-21 11:51:17 -0500 |
commit | c4cd65e1ed0e97a730d16e3472e27cabac50118f (patch) | |
tree | 80c623f3874af347cb8ac8bf4eace28aa34eb45f /pcr/upower-pm-utils/upower-pm-utils-0.9.23-fix-segfault.patch | |
parent | f34f6cd338aee4fcc5480370cfe7820f1c6dcc7d (diff) | |
download | abslibre-c4cd65e1ed0e97a730d16e3472e27cabac50118f.tar.gz abslibre-c4cd65e1ed0e97a730d16e3472e27cabac50118f.tar.bz2 abslibre-c4cd65e1ed0e97a730d16e3472e27cabac50118f.zip |
Removing upower-pm-utils: It was removed in upstream
Diffstat (limited to 'pcr/upower-pm-utils/upower-pm-utils-0.9.23-fix-segfault.patch')
-rw-r--r-- | pcr/upower-pm-utils/upower-pm-utils-0.9.23-fix-segfault.patch | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/pcr/upower-pm-utils/upower-pm-utils-0.9.23-fix-segfault.patch b/pcr/upower-pm-utils/upower-pm-utils-0.9.23-fix-segfault.patch deleted file mode 100644 index 6afb4f87f..000000000 --- a/pcr/upower-pm-utils/upower-pm-utils-0.9.23-fix-segfault.patch +++ /dev/null @@ -1,24 +0,0 @@ -From 0d64bbddaa0078ef148d609a3cfad854cf00d7de Mon Sep 17 00:00:00 2001 -From: Martin Pitt <martinpitt@gnome.org> -Date: Fri, 08 Nov 2013 13:59:50 +0000 -Subject: lib: Fix segfault on getting property when daemon is not running - -This fixes "upower --version" when the daemon is not running, and thus the -client proxy is NULL. ---- -diff --git a/libupower-glib/up-client.c b/libupower-glib/up-client.c -index 35d7b5d..17fb02d 100644 ---- a/libupower-glib/up-client.c -+++ b/libupower-glib/up-client.c -@@ -322,6 +322,9 @@ up_client_get_property (GObject *object, - UpClient *client; - client = UP_CLIENT (object); - -+ if (client->priv->proxy == NULL) -+ return; -+ - switch (prop_id) { - case PROP_DAEMON_VERSION: - g_value_set_string (value, up_client_glue_get_daemon_version (client->priv->proxy)); --- -cgit v0.9.0.2-2-gbebe |