aboutsummaryrefslogtreecommitdiffstats
path: root/e-util/e-passwords.c
diff options
context:
space:
mode:
authorFrédéric Crozat <fcrozat@src.gnome.org>2004-08-25 18:59:00 +0800
committerFrédéric Crozat <fcrozat@src.gnome.org>2004-08-25 18:59:00 +0800
commite10b2869405ffb119eb3472f6471a98ba00340e7 (patch)
tree7ef0c08f54e2c5eb382f3bfe11c5d69cd7587bd9 /e-util/e-passwords.c
parentc1ad0cb19be5fef872aa656104f9f3391ccc7b0f (diff)
downloadgsoc2013-evolution-e10b2869405ffb119eb3472f6471a98ba00340e7.tar
gsoc2013-evolution-e10b2869405ffb119eb3472f6471a98ba00340e7.tar.gz
gsoc2013-evolution-e10b2869405ffb119eb3472f6471a98ba00340e7.tar.bz2
gsoc2013-evolution-e10b2869405ffb119eb3472f6471a98ba00340e7.tar.lz
gsoc2013-evolution-e10b2869405ffb119eb3472f6471a98ba00340e7.tar.xz
gsoc2013-evolution-e10b2869405ffb119eb3472f6471a98ba00340e7.tar.zst
gsoc2013-evolution-e10b2869405ffb119eb3472f6471a98ba00340e7.zip
Don't call gtk_dialog_set_has_separator on Gtk Message Dialog with GTK+ >=
* e-dialog-utils.c: (e_notice): * e-passwords.c: (ep_ask_password): Don't call gtk_dialog_set_has_separator on Gtk Message Dialog with GTK+ >= 2.4.0. svn path=/trunk/; revision=27018
Diffstat (limited to 'e-util/e-passwords.c')
-rw-r--r--e-util/e-passwords.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/e-util/e-passwords.c b/e-util/e-passwords.c
index 61627729dd..3798819f22 100644
--- a/e-util/e-passwords.c
+++ b/e-util/e-passwords.c
@@ -44,6 +44,7 @@
#include <string.h>
#include <libgnome/gnome-config.h>
#include <libgnome/gnome-i18n.h>
+#include <gtk/gtkversion.h>
#include <gtk/gtkentry.h>
#include <gtk/gtkvbox.h>
#include <gtk/gtkcheckbutton.h>
@@ -429,7 +430,9 @@ ep_ask_password(EPassMsg *msg)
msg->prompt);
gtk_window_set_title(GTK_WINDOW(password_dialog), msg->title);
+#if !GTK_CHECK_VERSION (2,4,0)
gtk_dialog_set_has_separator(password_dialog, FALSE);
+#endif
gtk_dialog_set_default_response(password_dialog, GTK_RESPONSE_OK);
vbox = gtk_vbox_new (FALSE, 6);