aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook/gui
diff options
context:
space:
mode:
authorFrédéric Crozat <fcrozat@src.gnome.org>2004-08-25 18:56:21 +0800
committerFrédéric Crozat <fcrozat@src.gnome.org>2004-08-25 18:56:21 +0800
commitb96d53711c011f571fdf3263fa1db65c85cd0977 (patch)
treec66639533c06ccf3a3d5d31466b7e3fb54e3e99a /addressbook/gui
parenteb6d669a0dadba1704e0389ce7da6a99ce3735c1 (diff)
downloadgsoc2013-evolution-b96d53711c011f571fdf3263fa1db65c85cd0977.tar.gz
gsoc2013-evolution-b96d53711c011f571fdf3263fa1db65c85cd0977.tar.zst
gsoc2013-evolution-b96d53711c011f571fdf3263fa1db65c85cd0977.zip
Don't call gtk_dialog_set_has_separator on Gtk Message Dialog with GTK+ >=
* gui/component/addressbook-view.c: (delete_addressbook_cb): Don't call gtk_dialog_set_has_separator on Gtk Message Dialog with GTK+ >= 2.4.0. svn path=/trunk/; revision=27016
Diffstat (limited to 'addressbook/gui')
-rw-r--r--addressbook/gui/component/addressbook-view.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/addressbook/gui/component/addressbook-view.c b/addressbook/gui/component/addressbook-view.c
index 179c9fbf26..68f4992ce1 100644
--- a/addressbook/gui/component/addressbook-view.c
+++ b/addressbook/gui/component/addressbook-view.c
@@ -710,7 +710,9 @@ delete_addressbook_cb (GtkWidget *widget, AddressbookView *view)
GTK_BUTTONS_YES_NO,
_("Address book '%s' will be removed. Are you sure you want to continue?"),
e_source_peek_name (selected_source));
+#if !GTK_CHECK_VERSION (2,4,0)
gtk_dialog_set_has_separator (GTK_DIALOG (dialog), FALSE);
+#endif
if (gtk_dialog_run (GTK_DIALOG (dialog)) != GTK_RESPONSE_YES) {
gtk_widget_destroy (dialog);