summaryrefslogtreecommitdiff
path: root/mate-panel/button-widget.c
diff options
context:
space:
mode:
Diffstat (limited to 'mate-panel/button-widget.c')
-rw-r--r--mate-panel/button-widget.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/mate-panel/button-widget.c b/mate-panel/button-widget.c
index 3e6c34c5..a04fac6a 100644
--- a/mate-panel/button-widget.c
+++ b/mate-panel/button-widget.c
@@ -564,14 +564,14 @@ button_widget_expose (GtkWidget *widget,
}
if (gtk_widget_has_focus (widget)) {
-#if !GTK_CHECK_VERSION (3, 19, 0)
+#if !GTK_CHECK_VERSION (3, 20, 0)
gint focus_pad;
#endif
gtk_style_context_save (context);
gtk_style_context_set_state (context, state_flags);
-#if !GTK_CHECK_VERSION (3, 19, 0)
+#if !GTK_CHECK_VERSION (3, 20, 0)
gtk_widget_style_get (widget,
"focus-padding", &focus_pad,
NULL);
@@ -582,7 +582,7 @@ button_widget_expose (GtkWidget *widget,
#endif
cairo_save (cr);
-#if GTK_CHECK_VERSION (3, 19, 0)
+#if GTK_CHECK_VERSION (3, 20, 0)
gtk_render_focus (context, cr, 0, 0, width, height);
#else
gtk_render_focus (context, cr, x, y, w, h);