aboutsummaryrefslogtreecommitdiffstats
path: root/e-util/e-dialog-utils.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-dialog-utils.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-dialog-utils.c')
-rw-r--r--e-util/e-dialog-utils.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/e-util/e-dialog-utils.c b/e-util/e-dialog-utils.c
index 702ee053ca..63d3f1d74c 100644
--- a/e-util/e-dialog-utils.c
+++ b/e-util/e-dialog-utils.c
@@ -71,7 +71,9 @@ e_notice (gpointer parent, GtkMessageType type, const char *format, ...)
GTK_BUTTONS_OK,
"%s",
str);
+#if !GTK_CHECK_VERSION (2,4,0)
gtk_dialog_set_has_separator (GTK_DIALOG (dialog), FALSE);
+#endif
va_end (args);
g_free (str);