From eb77f20c52cfa78d827e243df9227840b28cd13f Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Wed, 8 Sep 2010 23:53:55 -0400 Subject: [PATCH] Change the default of GtkDialog::has-separator to FALSE Otherwise, the removing deprecated API will force the appearance of a dialog separators, which would be unfortunate. --- gtk/gtkdialog.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/gtk/gtkdialog.c b/gtk/gtkdialog.c index 94a6a54f75..d0414d0c7f 100644 --- a/gtk/gtkdialog.c +++ b/gtk/gtkdialog.c @@ -148,7 +148,7 @@ gtk_dialog_class_init (GtkDialogClass *class) g_param_spec_boolean ("has-separator", P_("Has separator"), P_("The dialog has a separator bar above its buttons"), - TRUE, + FALSE, GTK_PARAM_READWRITE | G_PARAM_DEPRECATED)); /** @@ -855,7 +855,6 @@ gtk_dialog_set_default_response (GtkDialog *dialog, * @setting: %TRUE to have a separator * * Sets whether the dialog has a separator above the buttons. - * %TRUE by default. * * Deprecated: 2.22: This function will be removed in GTK+ 3 **/