From 960af03507bc3e49d7aa45f0acc228cb25577d99 Mon Sep 17 00:00:00 2001 From: infirit Date: Sun, 23 Nov 2014 14:51:04 +0100 Subject: Gtk3: panel: focus-line-width is not needed when drawing ButtonWidget Based on gnome-panel commit: 8a942d16378f62015f302357e0e5b6f61b5713b3 From: Vincent Untz --- mate-panel/button-widget.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/mate-panel/button-widget.c b/mate-panel/button-widget.c index e9074ab4..f3f9bd1f 100644 --- a/mate-panel/button-widget.c +++ b/mate-panel/button-widget.c @@ -568,13 +568,12 @@ button_widget_expose (GtkWidget *widget, } if (gtk_widget_has_focus (widget)) { - gint focus_width, focus_pad; + gint focus_pad; gtk_style_context_save (context); gtk_style_context_set_state (context, state_flags); gtk_widget_style_get (widget, - "focus-line-width", &focus_width, "focus-padding", &focus_pad, NULL); x = focus_pad; -- cgit v1.2.1