Skip to content
Snippets Groups Projects
Commit 402ed141 authored by Eric Koegel's avatar Eric Koegel
Browse files

MAX(xthickness, xthickness) makes no sense

parent 6a55ca21
No related branches found
No related tags found
No related merge requests found
......@@ -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);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment