[Xfce4-commits] [xfce/xfce4-power-manager] 16/64: MAX(xthickness, xthickness) makes no sense

noreply at xfce.org noreply at xfce.org
Mon May 26 06:00:11 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 402ed141ac393a97c58e1e11177517144368dfc0
Author: Eric Koegel <eric.koegel at gmail.com>
Date:   Fri May 2 11:52:02 2014 +0300

    MAX(xthickness, xthickness) makes no sense
---
 panel-plugins/brightness/brightness-button.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/panel-plugins/brightness/brightness-button.c b/panel-plugins/brightness/brightness-button.c
index c2ee38b..e47d5ea 100644
--- a/panel-plugins/brightness/brightness-button.c
+++ b/panel-plugins/brightness/brightness-button.c
@@ -579,7 +579,7 @@ static gboolean
 brightness_button_size_changed_cb (XfcePanelPlugin *plugin, gint size, BrightnessButton *button)
 {
     gint width = size -2 - 2* MAX(gtk_widget_get_style(GTK_WIDGET(button))->xthickness,
-				  gtk_widget_get_style(GTK_WIDGET(button))->xthickness);
+				  gtk_widget_get_style(GTK_WIDGET(button))->ythickness);
 				 
     gtk_widget_set_size_request (GTK_WIDGET(plugin), size, size);
     return brightness_button_set_icon (button, width);

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


More information about the Xfce4-commits mailing list