[gtk+/gtk-2-22] Change the initial value of GtkDialog::has-separator to match the default
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/gtk-2-22] Change the initial value of GtkDialog::has-separator to match the default
- Date: Tue, 14 Sep 2010 03:44:40 +0000 (UTC)
commit f9473472ddc101efdc847d0ceff88cd386d8c960
Author: Matthias Clasen <mclasen redhat com>
Date: Mon Sep 13 23:30:04 2010 -0400
Change the initial value of GtkDialog::has-separator to match the default
gtk/gtkdialog.c | 6 ++----
1 files changed, 2 insertions(+), 4 deletions(-)
---
diff --git a/gtk/gtkdialog.c b/gtk/gtkdialog.c
index d0414d0..fb3f5cb 100644
--- a/gtk/gtkdialog.c
+++ b/gtk/gtkdialog.c
@@ -298,12 +298,10 @@ gtk_dialog_init (GtkDialog *dialog)
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);
+ dialog->separator = NULL;
gtk_window_set_type_hint (GTK_WINDOW (dialog),
- GDK_WINDOW_TYPE_HINT_DIALOG);
+ GDK_WINDOW_TYPE_HINT_DIALOG);
gtk_window_set_position (GTK_WINDOW (dialog), GTK_WIN_POS_CENTER_ON_PARENT);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]