From 0c4d431d0407e0c77a58e3eb35f7037cf84e5471 Mon Sep 17 00:00:00 2001 From: raveit65 Date: Tue, 14 Jun 2016 22:30:56 +0200 Subject: GTK+-3 mate-colorsel: Do not use deprecate composite-child API --- libmate-desktop/mate-colorsel.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/libmate-desktop/mate-colorsel.c b/libmate-desktop/mate-colorsel.c index 5b096b7..03b30ae 100644 --- a/libmate-desktop/mate-colorsel.c +++ b/libmate-desktop/mate-colorsel.c @@ -361,8 +361,10 @@ mate_color_selection_init (MateColorSelection *colorsel) GList *focus_chain = NULL; _mate_desktop_init_i18n (); - + +#if !GTK_CHECK_VERSION(3,0,0) gtk_widget_push_composite_child (); +#endif priv = colorsel->private_data = G_TYPE_INSTANCE_GET_PRIVATE (colorsel, MATE_TYPE_COLOR_SELECTION, ColorSelectionPrivate); priv->changing = FALSE; @@ -550,7 +552,9 @@ mate_color_selection_init (MateColorSelection *colorsel) make_all_relations (atk_obj, priv); } +#if !GTK_CHECK_VERSION(3,0,0) gtk_widget_pop_composite_child (); +#endif } /* GObject methods */ -- cgit v1.2.1