[Xfce4-commits] [panel-plugins/xfce4-battery-plugin] 01/01: Remove unintentional button creation

noreply at xfce.org noreply at xfce.org
Wed Aug 2 01:02:39 CEST 2017


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

a   n   d   r   e       p   u   s   h   e   d       a       c   o   m   m   i   t       t   o       b   r   a   n   c   h       m   a   s   t   e   r   
   in repository panel-plugins/xfce4-battery-plugin.

commit 3855e3f9c7080a259092a9cbd01f7c8fd6a713ce
Author: Andre Miranda <andre42m at gmail.com>
Date:   Sun Jul 30 20:23:10 2017 -0300

    Remove unintentional button creation
    
    Probably product of copy and paste, shame on me :)
---
 panel-plugin/battery.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/panel-plugin/battery.c b/panel-plugin/battery.c
index 03c5945..7a15544 100644
--- a/panel-plugin/battery.c
+++ b/panel-plugin/battery.c
@@ -996,7 +996,6 @@ static void refresh_dialog(t_battmon_dialog *dialog)
 
     gtk_spin_button_set_value(GTK_SPIN_BUTTON(dialog->sb_low_percentage), battmon->options.low_percentage);
     gtk_spin_button_set_value(GTK_SPIN_BUTTON(dialog->sb_critical_percentage), battmon->options.critical_percentage);
-    gtk_color_button_new_with_rgba(&battmon->options.colorA);
     gtk_color_chooser_set_rgba(GTK_COLOR_CHOOSER(dialog->ac_color_button), &battmon->options.colorA);
     gtk_color_chooser_set_rgba(GTK_COLOR_CHOOSER(dialog->high_color_button), &battmon->options.colorH);
     gtk_color_chooser_set_rgba(GTK_COLOR_CHOOSER(dialog->low_color_button), &battmon->options.colorL);

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


More information about the Xfce4-commits mailing list