summaryrefslogtreecommitdiff
path: root/gtk/gtkdialog.h
diff options
context:
space:
mode:
authorFederico Mena Quintero <federico@ximian.com>2004-02-03 19:46:43 +0000
committerFederico Mena Quintero <federico@src.gnome.org>2004-02-03 19:46:43 +0000
commitd08dd112ccda04400cdb19360903971525c24706 (patch)
tree121e980c836f7c706343d8a7904a09804a801159 /gtk/gtkdialog.h
parent35efc9ba05a4f75936b434c4db934aaaa327be6d (diff)
downloadgtk+-d08dd112ccda04400cdb19360903971525c24706.tar.gz
Fix #68938.
2004-02-03 Federico Mena Quintero <federico@ximian.com> Fix #68938. * gtk/gtkdialog.c (GtkDialogPrivate): New private structure for GtkDialog; right now it only contains an ignore_separator field. (gtk_dialog_class_init): Register the private structure. (gtk_dialog_init): Initialize the priv->ignore_separator field. (_gtk_dialog_set_ignore_separator): New private function. (gtk_dialog_set_has_separator): Ignore the setting if appropriate. * gtk/gtkmessagedialog.c (gtk_message_dialog_class_init): Add a use_separator style property. (gtk_message_dialog_style_set): Change the dialog's separator based on the style property. (gtk_message_dialog_init): Set the dialog box to ignore the separator setting.
Diffstat (limited to 'gtk/gtkdialog.h')
-rw-r--r--gtk/gtkdialog.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/gtk/gtkdialog.h b/gtk/gtkdialog.h
index 953857c465..60c860fa47 100644
--- a/gtk/gtkdialog.h
+++ b/gtk/gtkdialog.h
@@ -159,6 +159,11 @@ void gtk_dialog_response (GtkDialog *dialog,
/* Returns response_id */
gint gtk_dialog_run (GtkDialog *dialog);
+
+/* For private use only */
+void _gtk_dialog_set_ignore_separator (GtkDialog *dialog,
+ gboolean ignore_separator);
+
#ifdef __cplusplus
}
#endif /* __cplusplus */