Index: gtkdialog.c
===================================================================
RCS file: /cvs/gnome/gtk+/gtk/gtkdialog.c,v
retrieving revision 1.41
diff -u -r1.41 gtkdialog.c
--- gtkdialog.c	2002/01/08 00:04:54	1.41
+++ gtkdialog.c	2002/01/17 18:18:33
@@ -27,7 +27,6 @@
 #include "gtkbutton.h"
 #include "gtkdialog.h"
 #include "gtkhbbox.h"
-#include "gtkhseparator.h"
 #include "gtkmarshalers.h"
 #include "gtkvbox.h"
 #include "gtksignal.h"
@@ -125,7 +124,7 @@
                                    g_param_spec_boolean ("has_separator",
 							 _("Has separator"),
 							 _("The dialog has a separator bar above its buttons"),
-                                                         TRUE,
+                                                         FALSE,
                                                          G_PARAM_READWRITE));
   
   dialog_signals[RESPONSE] =
@@ -230,10 +229,6 @@
                     FALSE, TRUE, 0);
   gtk_widget_show (dialog->action_area);
 
-  dialog->separator = gtk_hseparator_new ();
-  gtk_box_pack_end (GTK_BOX (dialog->vbox), dialog->separator, FALSE, TRUE, 0);
-  gtk_widget_show (dialog->separator);
-
   gtk_window_set_type_hint (GTK_WINDOW (dialog),
 			    GDK_WINDOW_TYPE_HINT_DIALOG);
   gtk_window_set_position (GTK_WINDOW (dialog), GTK_WIN_POS_CENTER_ON_PARENT);
@@ -275,7 +270,7 @@
   switch (prop_id)
     {
     case PROP_HAS_SEPARATOR:
-      g_value_set_boolean (value, dialog->separator != NULL);
+      g_value_set_boolean (value, FALSE);
       break;
 
     default:
@@ -351,9 +346,6 @@
   if (flags & GTK_DIALOG_DESTROY_WITH_PARENT)
     gtk_window_set_destroy_with_parent (GTK_WINDOW (dialog), TRUE);
 
-  if (flags & GTK_DIALOG_NO_SEPARATOR)
-    gtk_dialog_set_has_separator (dialog, FALSE);
-  
   return GTK_WIDGET (dialog);
 }
 
@@ -704,28 +696,6 @@
                               gboolean   setting)
 {
   g_return_if_fail (GTK_IS_DIALOG (dialog));
-
-  /* this might fail if we get called before _init() somehow */
-  g_assert (dialog->vbox != NULL);
-  
-  if (setting && dialog->separator == NULL)
-    {
-      dialog->separator = gtk_hseparator_new ();
-      gtk_box_pack_end (GTK_BOX (dialog->vbox), dialog->separator, FALSE, TRUE, 0);
-
-      /* The app programmer could screw this up, but, their own fault.
-       * Moves the separator just above the action area.
-       */
-      gtk_box_reorder_child (GTK_BOX (dialog->vbox), dialog->separator, 1);
-      gtk_widget_show (dialog->separator);
-    }
-  else if (!setting && dialog->separator != NULL)
-    {
-      gtk_widget_destroy (dialog->separator);
-      dialog->separator = NULL;
-    }
-
-  g_object_notify (G_OBJECT (dialog), "has_separator");
 }
 
 /**
@@ -741,7 +711,7 @@
 {
   g_return_val_if_fail (GTK_IS_DIALOG (dialog), FALSE);
 
-  return dialog->separator != NULL;
+  return FALSE;
 }
 
 /**
Index: gtkdialog.h
===================================================================
RCS file: /cvs/gnome/gtk+/gtk/gtkdialog.h,v
retrieving revision 1.14
diff -u -r1.14 gtkdialog.h
--- gtkdialog.h	2001/12/31 04:43:07	1.14
+++ gtkdialog.h	2002/01/17 18:18:33
@@ -41,7 +41,9 @@
 {
   GTK_DIALOG_MODAL               = 1 << 0, /* call gtk_window_set_modal (win, TRUE) */
   GTK_DIALOG_DESTROY_WITH_PARENT = 1 << 1, /* call gtk_window_set_destroy_with_parent () */
-  GTK_DIALOG_NO_SEPARATOR        = 1 << 2  /* no separator bar above buttons */
+#ifndef GTK_DISABLE_DEPRECATED
+  GTK_DIALOG_NO_SEPARATOR        = 0       /* no separator bar above buttons */
+#endif
 } GtkDialogFlags;
 
 /* Convenience enum to use for response_id's.  Positive values are
@@ -101,7 +103,7 @@
   GtkWidget *action_area;
 
   /*< private >*/
-  GtkWidget *separator;
+  gpointer   placeholder;
 };
 
 struct _GtkDialogClass
@@ -141,9 +143,11 @@
 void gtk_dialog_set_default_response   (GtkDialog *dialog,
                                         gint       response_id);
 
+#ifndef GTK_DISABLE_DEPRECATED
 void     gtk_dialog_set_has_separator (GtkDialog *dialog,
                                        gboolean   setting);
 gboolean gtk_dialog_get_has_separator (GtkDialog *dialog);
+#endif
 
 /* Emit response signal */
 void gtk_dialog_response           (GtkDialog *dialog,
