[Xfce4-commits] [xfce/xfce4-power-manager] 01/01: Fix LXDE plugin build error

noreply at xfce.org noreply at xfce.org
Sun Jun 29 22:59:52 CEST 2014


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

eric pushed a commit to branch master
in repository xfce/xfce4-power-manager.

commit eb0041b809d80676bad2225449c2db28d1a206d0
Author: Eric Koegel <eric.koegel at gmail.com>
Date:   Sun Jun 29 23:56:30 2014 +0300

    Fix LXDE plugin build error
---
 panel-plugins/battery/lxde/battery-plugin.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/panel-plugins/battery/lxde/battery-plugin.c b/panel-plugins/battery/lxde/battery-plugin.c
index 18de503..9ddbbce 100644
--- a/panel-plugins/battery/lxde/battery-plugin.c
+++ b/panel-plugins/battery/lxde/battery-plugin.c
@@ -106,7 +106,7 @@ battery_plugin_construct (Plugin *plugin, char **fp)
 static void
 battery_plugin_configuration_changed(Plugin *p)
 {
-    BatteryPlugin *battery_plugin = p->plugin;
+    BatteryPlugin *battery_plugin = p->priv;
 
     /* Determine orientation and size */
     GtkOrientation orientation = (p->panel->orientation == GTK_ORIENTATION_VERTICAL) ? GTK_ORIENTATION_VERTICAL : GTK_ORIENTATION_HORIZONTAL;
@@ -119,5 +119,5 @@ battery_plugin_configuration_changed(Plugin *p)
         gtk_widget_set_size_request (p->pwid, size, -1);
 
     /* update the button's width */
-    battery_button_set_width (battery_plugin->battery_button, p->panel->icon_size);
+    battery_button_set_width (BATTERY_BUTTON(battery_plugin->battery_button), p->panel->icon_size);
 }

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


More information about the Xfce4-commits mailing list