summaryrefslogtreecommitdiff
path: root/src/eom-close-confirmation-dialog.c
diff options
context:
space:
mode:
authorStefano Karapetsas <[email protected]>2013-11-30 13:49:54 -0800
committerStefano Karapetsas <[email protected]>2013-11-30 13:49:54 -0800
commit49a08abd4e47acea66d5588b8141703ddb31f22e (patch)
treeb20e6bee1dceb8271fd1eb74e1dd2ea746c734bb /src/eom-close-confirmation-dialog.c
parent0de8bb6132dc03846dd2b5dbc24faef7f1b917b4 (diff)
parent225f4493f47f035d706309f715d049789cbfb2c3 (diff)
downloadeom-49a08abd4e47acea66d5588b8141703ddb31f22e.tar.bz2
eom-49a08abd4e47acea66d5588b8141703ddb31f22e.tar.xz
Merge pull request #32 from eyelash/gtk3
improve the GTK3 support
Diffstat (limited to 'src/eom-close-confirmation-dialog.c')
-rw-r--r--src/eom-close-confirmation-dialog.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/eom-close-confirmation-dialog.c b/src/eom-close-confirmation-dialog.c
index c747465..9355ba4 100644
--- a/src/eom-close-confirmation-dialog.c
+++ b/src/eom-close-confirmation-dialog.c
@@ -180,7 +180,9 @@ eom_close_confirmation_dialog_init (EomCloseConfirmationDialog *dlg)
gtk_container_set_border_width (GTK_CONTAINER (dlg), 5);
gtk_box_set_spacing (GTK_BOX (gtk_dialog_get_content_area (GTK_DIALOG (dlg))), 14);
gtk_window_set_resizable (GTK_WINDOW (dlg), FALSE);
+#if !GTK_CHECK_VERSION(2,22,0)
gtk_dialog_set_has_separator (GTK_DIALOG (dlg), FALSE);
+#endif
gtk_window_set_skip_taskbar_hint (GTK_WINDOW (dlg), TRUE);
gtk_window_set_title (GTK_WINDOW (dlg), "");