diff options
author | raveit65 <[email protected]> | 2016-06-14 22:30:56 +0200 |
---|---|---|
committer | raveit65 <[email protected]> | 2016-06-15 09:47:09 +0200 |
commit | 0c4d431d0407e0c77a58e3eb35f7037cf84e5471 (patch) | |
tree | 1f55a4c6411c4b34a85bdd2da787a0ed0783095f /libmate-desktop | |
parent | 49163ff9ca68d0cfc3f759fa7b82c570c03a9dec (diff) | |
download | mate-desktop-0c4d431d0407e0c77a58e3eb35f7037cf84e5471.tar.bz2 mate-desktop-0c4d431d0407e0c77a58e3eb35f7037cf84e5471.tar.xz |
GTK+-3 mate-colorsel: Do not use deprecate composite-child API
Diffstat (limited to 'libmate-desktop')
-rw-r--r-- | libmate-desktop/mate-colorsel.c | 6 |
1 files changed, 5 insertions, 1 deletions
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 */ |