[gtk+/gtk-2-22] Change the default of GtkDialog::has-separator to FALSE
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/gtk-2-22] Change the default of GtkDialog::has-separator to FALSE
- Date: Thu, 9 Sep 2010 03:55:32 +0000 (UTC)
commit eb77f20c52cfa78d827e243df9227840b28cd13f
Author: Matthias Clasen <mclasen redhat com>
Date: Wed Sep 8 23:53:55 2010 -0400
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 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/gtk/gtkdialog.c b/gtk/gtkdialog.c
index 94a6a54..d0414d0 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
**/
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]