[Xfce4-commits] [panel-plugins/xfce4-battery-plugin] 01/01: Fix build with Gtk 3.14 (bug #12964)

noreply at xfce.org noreply at xfce.org
Thu Dec 1 11:25:01 CET 2016


This is an automated email from the git hooks/post-receive script.

landry pushed a commit to branch master
in repository panel-plugins/xfce4-battery-plugin.

commit 2c31c34686ac2e7f4450e159b8ea57a596aa9a7a
Author: Landry Breuil <landry at xfce.org>
Date:   Thu Dec 1 11:24:35 2016 +0100

    Fix build with Gtk 3.14 (bug #12964)
---
 panel-plugin/battery.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/panel-plugin/battery.c b/panel-plugin/battery.c
index 180157c..0c9d8d6 100644
--- a/panel-plugin/battery.c
+++ b/panel-plugin/battery.c
@@ -616,7 +616,7 @@ battmon.c:241: for each function it appears in.)
         GTK_STYLE_PROVIDER_PRIORITY_APPLICATION);
     g_free(css);
 #else
-    gtk_widget_override_background_color (widget, GTK_STATE_FLAG_NORMAL, color);
+    gtk_widget_override_background_color (GTK_WIDGET (battmon->battstatus), GTK_STATE_FLAG_NORMAL, color);
 #endif
 
     /* alarms */

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Xfce4-commits mailing list