summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorinfirit <[email protected]>2014-11-23 14:51:04 +0100
committerinfirit <[email protected]>2014-11-23 14:56:13 +0100
commit960af03507bc3e49d7aa45f0acc228cb25577d99 (patch)
tree9a8dd4f3aa57abd35bf5fc6299eb0f0bbe54cf76
parentc3763a0b869a8a77d1ecbb5b3689e0399cbf1d49 (diff)
downloadmate-panel-960af03507bc3e49d7aa45f0acc228cb25577d99.tar.bz2
mate-panel-960af03507bc3e49d7aa45f0acc228cb25577d99.tar.xz
Gtk3: panel: focus-line-width is not needed when drawing ButtonWidget
Based on gnome-panel commit: 8a942d16378f62015f302357e0e5b6f61b5713b3 From: Vincent Untz <[email protected]>
-rw-r--r--mate-panel/button-widget.c3
1 files changed, 1 insertions, 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;