From b96d53711c011f571fdf3263fa1db65c85cd0977 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20Crozat?= Date: Wed, 25 Aug 2004 10:56:21 +0000 Subject: 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 --- addressbook/gui/component/addressbook-view.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'addressbook/gui/component') 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); -- cgit v1.2.3