summaryrefslogtreecommitdiff
path: root/mate-panel/button-widget.c
diff options
context:
space:
mode:
authormonsta <[email protected]>2016-11-21 18:41:01 +0300
committermonsta <[email protected]>2016-11-21 18:41:01 +0300
commitcd7c4c546fa230e78608c206502e9758eef22c54 (patch)
tree4a90c42bd82d79fc0827462711553f50e570c28e /mate-panel/button-widget.c
parent9e5c593552795c283aec5fc61478794e6b2b4ae7 (diff)
downloadmate-panel-cd7c4c546fa230e78608c206502e9758eef22c54.tar.bz2
mate-panel-cd7c4c546fa230e78608c206502e9758eef22c54.tar.xz
check for stable release of GTK+3, not for development one
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);