summaryrefslogtreecommitdiff
path: root/libmate-desktop/mate-aboutdialog.c
diff options
context:
space:
mode:
authorraveit65 <[email protected]>2016-06-14 20:49:32 +0200
committerraveit65 <[email protected]>2016-06-15 09:46:29 +0200
commite3afef2d6a4ff033192337cd9788c262055e5fd6 (patch)
tree9bde9a1e66b1cc42d947d333f4bd03fc556dc482 /libmate-desktop/mate-aboutdialog.c
parenta7434992544fe2fc2e1659999ea9ab7d95b6e56b (diff)
downloadmate-desktop-e3afef2d6a4ff033192337cd9788c262055e5fd6.tar.bz2
mate-desktop-e3afef2d6a4ff033192337cd9788c262055e5fd6.tar.xz
GTK+-3.0 mate-about-dialog: Do not use deprecate composite-child API
Diffstat (limited to 'libmate-desktop/mate-aboutdialog.c')
-rw-r--r--libmate-desktop/mate-aboutdialog.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/libmate-desktop/mate-aboutdialog.c b/libmate-desktop/mate-aboutdialog.c
index 2183499..6e862b0 100644
--- a/libmate-desktop/mate-aboutdialog.c
+++ b/libmate-desktop/mate-aboutdialog.c
@@ -490,7 +490,9 @@ mate_about_dialog_init (MateAboutDialog *about)
gtk_container_set_border_width (GTK_CONTAINER (gtk_dialog_get_action_area (dialog)), 5);
/* Widgets */
+#if !GTK_CHECK_VERSION(3,0,0)
gtk_widget_push_composite_child ();
+#endif
#if GTK_CHECK_VERSION (3, 0, 0)
vbox = gtk_box_new (GTK_ORIENTATION_VERTICAL, 8);
@@ -575,7 +577,9 @@ mate_about_dialog_init (MateAboutDialog *about)
gtk_window_set_resizable (GTK_WINDOW (about), FALSE);
+#if !GTK_CHECK_VERSION(3,0,0)
gtk_widget_pop_composite_child ();
+#endif
gtk_widget_grab_default (close_button);
gtk_widget_grab_focus (close_button);