diff options
author | Michael Mair-Keimberger <m.mairkeimberger@gmail.com> | 2017-08-17 10:05:44 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2017-09-03 00:51:23 +0200 |
commit | dbce85cd66bfde58d1afca30f67457631a4350f6 (patch) | |
tree | f717d6adf8fcaead23da9c8a9f01c743156b86a1 /xfce-extra/xfce4-systemload-plugin | |
parent | x11-misc/rodent: remove unused patch (diff) | |
download | gentoo-dbce85cd66bfde58d1afca30f67457631a4350f6.tar.gz gentoo-dbce85cd66bfde58d1afca30f67457631a4350f6.tar.bz2 gentoo-dbce85cd66bfde58d1afca30f67457631a4350f6.zip |
xfce-extra/xfce4-systemload-plugin: remove unused patch
Diffstat (limited to 'xfce-extra/xfce4-systemload-plugin')
-rw-r--r-- | xfce-extra/xfce4-systemload-plugin/files/xfce4-systemload-plugin-1.1.1-upower-0.99.patch | 55 |
1 files changed, 0 insertions, 55 deletions
diff --git a/xfce-extra/xfce4-systemload-plugin/files/xfce4-systemload-plugin-1.1.1-upower-0.99.patch b/xfce-extra/xfce4-systemload-plugin/files/xfce4-systemload-plugin-1.1.1-upower-0.99.patch deleted file mode 100644 index 0aca3483f846..000000000000 --- a/xfce-extra/xfce4-systemload-plugin/files/xfce4-systemload-plugin-1.1.1-upower-0.99.patch +++ /dev/null @@ -1,55 +0,0 @@ -http://bugzilla.xfce.org/show_bug.cgi?id=10923 - -From 1bc7f32ea8244575124420bd34d52913831a1ae1 Mon Sep 17 00:00:00 2001 -From: Eric Koegel <eric.koegel@gmail.com> -Date: Fri, 30 May 2014 19:12:02 +0300 -Subject: [PATCH] Update for Upower 0.99 - -Upower 0.99 changed from the "changed" signal to "notify" as well as -the function signature. This patch adds that while still supporting -the previous versions of upower. ---- - panel-plugin/systemload.c | 13 +++++++++++-- - 1 file changed, 11 insertions(+), 2 deletions(-) - -diff --git a/panel-plugin/systemload.c b/panel-plugin/systemload.c -index c0572a3..30636e9 100644 ---- a/panel-plugin/systemload.c -+++ b/panel-plugin/systemload.c -@@ -624,11 +624,15 @@ monitor_set_orientation (XfcePanelPlugin *plugin, GtkOrientation orientation, - - #ifdef HAVE_UPOWER_GLIB - static void -+#if UP_CHECK_VERSION(0, 99, 0) -+upower_changed_cb(UpClient *client, GParamSpec *pspec, t_global_monitor *global) -+#else /* UP_CHECK_VERSION < 0.99 */ - upower_changed_cb(UpClient *client, t_global_monitor *global) -+#endif /* UP_CHECK_VERSION */ - { - setup_timer(global); - } --#endif -+#endif /* HAVE_UPOWER_GLIB */ - - static void - entry_changed_cb(GtkEntry *entry, t_global_monitor *global) -@@ -925,10 +929,15 @@ systemload_construct (XfcePanelPlugin *plugin) - - #ifdef HAVE_UPOWER_GLIB - if (global->upower) { -+#if UP_CHECK_VERSION(0, 99, 0) -+ g_signal_connect (global->upower, "notify", -+ G_CALLBACK(upower_changed_cb), global); -+#else /* UP_CHECK_VERSION < 0.99 */ - g_signal_connect (global->upower, "changed", - G_CALLBACK(upower_changed_cb), global); -+#endif /* UP_CHECK_VERSION */ - } --#endif -+#endif /* HAVE_UPOWER_GLIB */ - - g_signal_connect (plugin, "free-data", G_CALLBACK (monitor_free), global); - --- -1.9.3 - |