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 | |
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')
-rw-r--r-- | mate-panel/button-widget.c | 6 | ||||
-rw-r--r-- | mate-panel/libmate-panel-applet-private/panel-applet-frame-dbus.c | 2 | ||||
-rw-r--r-- | mate-panel/panel-frame.c | 2 | ||||
-rw-r--r-- | mate-panel/panel-separator.c | 2 | ||||
-rw-r--r-- | mate-panel/panel-toplevel.c | 8 | ||||
-rw-r--r-- | mate-panel/panel-widget.c | 2 |
6 files changed, 11 insertions, 11 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); diff --git a/mate-panel/libmate-panel-applet-private/panel-applet-frame-dbus.c b/mate-panel/libmate-panel-applet-private/panel-applet-frame-dbus.c index 463c9994..9a3464ce 100644 --- a/mate-panel/libmate-panel-applet-private/panel-applet-frame-dbus.c +++ b/mate-panel/libmate-panel-applet-private/panel-applet-frame-dbus.c @@ -385,7 +385,7 @@ mate_panel_applet_frame_dbus_class_init (MatePanelAppletFrameDBusClass *class) frame_class->change_size = mate_panel_applet_frame_dbus_change_size; frame_class->change_background = mate_panel_applet_frame_dbus_change_background; -#if GTK_CHECK_VERSION (3, 19, 0) +#if GTK_CHECK_VERSION (3, 20, 0) GtkWidgetClass *widget_class = GTK_WIDGET_CLASS (class); gtk_widget_class_set_css_name (widget_class, "MatePanelAppletFrameDBus"); #endif diff --git a/mate-panel/panel-frame.c b/mate-panel/panel-frame.c index 36125917..b0529f1d 100644 --- a/mate-panel/panel-frame.c +++ b/mate-panel/panel-frame.c @@ -500,7 +500,7 @@ panel_frame_class_init (PanelFrameClass *klass) widget_class->size_request = panel_frame_size_request; widget_class->expose_event = panel_frame_expose; #endif -#if GTK_CHECK_VERSION (3, 19, 0) +#if GTK_CHECK_VERSION (3, 20, 0) gtk_widget_class_set_css_name (widget_class, "PanelFrame"); #endif diff --git a/mate-panel/panel-separator.c b/mate-panel/panel-separator.c index 93b58293..33a56768 100644 --- a/mate-panel/panel-separator.c +++ b/mate-panel/panel-separator.c @@ -263,7 +263,7 @@ panel_separator_class_init (PanelSeparatorClass *klass) widget_class->size_allocate = panel_separator_size_allocate; widget_class->parent_set = panel_separator_parent_set; -#if GTK_CHECK_VERSION (3, 19, 0) +#if GTK_CHECK_VERSION (3, 20, 0) gtk_widget_class_set_css_name (widget_class, "PanelSeparator"); #endif 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 diff --git a/mate-panel/panel-widget.c b/mate-panel/panel-widget.c index 39789cb3..d41ceefe 100644 --- a/mate-panel/panel-widget.c +++ b/mate-panel/panel-widget.c @@ -448,7 +448,7 @@ panel_widget_class_init (PanelWidgetClass *class) widget_class->size_request = panel_widget_size_request; #endif widget_class->size_allocate = panel_widget_size_allocate; -#if GTK_CHECK_VERSION (3, 19, 0) +#if GTK_CHECK_VERSION (3, 20, 0) gtk_widget_class_set_css_name (widget_class, "PanelWidget"); #endif #if GTK_CHECK_VERSION (3, 18, 0) |