summaryrefslogtreecommitdiff
path: root/gtk/gtkmessagedialog.c
diff options
context:
space:
mode:
authorOwen Taylor <otaylor@redhat.com>2001-11-13 00:35:24 +0000
committerOwen Taylor <otaylor@src.gnome.org>2001-11-13 00:35:24 +0000
commitaebe24f2bba1a41b23ab62b7adfc867e28adb3fc (patch)
treeaefd1986bd55c41b3c6724a6a2e30d7548094bed /gtk/gtkmessagedialog.c
parentbe2d0ae2ce4036d5e4185f4dffb8fe758ec8185d (diff)
downloadgdk-pixbuf-aebe24f2bba1a41b23ab62b7adfc867e28adb3fc.tar.gz
Warn
Mon Nov 12 19:33:52 2001 Owen Taylor <otaylor@redhat.com> * gtk/gtkmessagedialog.c (gtk_message_dialog_new): Warn
Diffstat (limited to 'gtk/gtkmessagedialog.c')
-rw-r--r--gtk/gtkmessagedialog.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/gtk/gtkmessagedialog.c b/gtk/gtkmessagedialog.c
index 3fdb91ef3..1c66b0491 100644
--- a/gtk/gtkmessagedialog.c
+++ b/gtk/gtkmessagedialog.c
@@ -191,6 +191,12 @@ gtk_message_dialog_new (GtkWindow *parent,
widget = GTK_WIDGET (gtk_type_new (GTK_TYPE_MESSAGE_DIALOG));
dialog = GTK_DIALOG (widget);
+ if (flags & GTK_DIALOG_NO_SEPARATOR)
+ {
+ g_warning ("The GTK_DIALOG_NO_SEPARATOR flag cannot be used for GtkMessageDialog");
+ flags &= ~GTK_DIALOG_NO_SEPARATOR;
+ }
+
if (message_format)
{
va_start (args, message_format);