summaryrefslogtreecommitdiff
path: root/capplets/about-me/eel-alert-dialog.c
diff options
context:
space:
mode:
authorStefano Karapetsas <[email protected]>2014-01-24 16:14:14 +0100
committerStefano Karapetsas <[email protected]>2014-01-24 16:14:14 +0100
commitca676076227ce05de2377a4fdae747e769465bd6 (patch)
tree90595f6824b00ae96ae62f4184cc3f9948b38ab9 /capplets/about-me/eel-alert-dialog.c
parentab448aa9ca1a2d697964aba7f31ebce0e1ed3147 (diff)
downloadmate-control-center-ca676076227ce05de2377a4fdae747e769465bd6.tar.bz2
mate-control-center-ca676076227ce05de2377a4fdae747e769465bd6.tar.xz
about-me: Add GTK3 support
Diffstat (limited to 'capplets/about-me/eel-alert-dialog.c')
-rw-r--r--capplets/about-me/eel-alert-dialog.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/capplets/about-me/eel-alert-dialog.c b/capplets/about-me/eel-alert-dialog.c
index ccaaacbe..9efed13f 100644
--- a/capplets/about-me/eel-alert-dialog.c
+++ b/capplets/about-me/eel-alert-dialog.c
@@ -356,7 +356,9 @@ eel_alert_dialog_new (GtkWindow *parent,
gtk_container_set_border_width (GTK_CONTAINER (dialog), 5);
gtk_box_set_spacing (GTK_BOX (gtk_dialog_get_content_area (GTK_DIALOG (dialog))), 14);
gtk_window_set_resizable (GTK_WINDOW (dialog), FALSE);
+#if !GTK_CHECK_VERSION (3, 0, 0)
gtk_dialog_set_has_separator (dialog, FALSE);
+#endif
gtk_window_set_title (GTK_WINDOW (dialog),
(title != NULL) ? title : "");