diff options
author | monsta <[email protected]> | 2016-11-21 18:41:01 +0300 |
---|---|---|
committer | monsta <[email protected]> | 2016-11-21 18:41:01 +0300 |
commit | cd7c4c546fa230e78608c206502e9758eef22c54 (patch) | |
tree | 4a90c42bd82d79fc0827462711553f50e570c28e /mate-panel/panel-toplevel.c | |
parent | 9e5c593552795c283aec5fc61478794e6b2b4ae7 (diff) | |
download | mate-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/panel-toplevel.c')
-rw-r--r-- | mate-panel/panel-toplevel.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/mate-panel/panel-toplevel.c b/mate-panel/panel-toplevel.c index d5263ba6..b3a886a6 100644 --- a/mate-panel/panel-toplevel.c +++ b/mate-panel/panel-toplevel.c @@ -2439,7 +2439,7 @@ calculate_minimum_height (GtkWidget *widget, #endif PangoContext *pango_context; PangoFontMetrics *metrics; -#if !GTK_CHECK_VERSION (3, 19, 0) +#if !GTK_CHECK_VERSION (3, 20, 0) int focus_width = 0; int focus_pad = 0; #endif @@ -2470,7 +2470,7 @@ calculate_minimum_height (GtkWidget *widget, pango_font_metrics_unref (metrics); -#if !GTK_CHECK_VERSION (3, 19, 0) +#if !GTK_CHECK_VERSION (3, 20, 0) gtk_widget_style_get (widget, "focus-line-width", &focus_width, "focus-padding", &focus_pad, @@ -2482,7 +2482,7 @@ calculate_minimum_height (GtkWidget *widget, padding.top + padding.bottom : padding.left + padding.right; -#if GTK_CHECK_VERSION (3, 19, 0) +#if GTK_CHECK_VERSION (3, 20, 0) return PANGO_PIXELS (ascent + descent) + thickness; #else return PANGO_PIXELS (ascent + descent) + 2 * (focus_width + focus_pad) + thickness; @@ -4697,7 +4697,7 @@ panel_toplevel_class_init (PanelToplevelClass *klass) widget_class->focus_in_event = panel_toplevel_focus_in_event; widget_class->focus_out_event = panel_toplevel_focus_out_event; -#if GTK_CHECK_VERSION (3, 19, 0) +#if GTK_CHECK_VERSION (3, 20, 0) gtk_widget_class_set_css_name (widget_class, "PanelToplevel"); #endif |