summaryrefslogtreecommitdiff
path: root/gtk/gtkdialog.h
diff options
context:
space:
mode:
authorCarlos Garnacho <carlos@imendio.com>2008-06-24 10:22:40 +0000
committerCarlos Garnacho <carlosg@src.gnome.org>2008-06-24 10:22:40 +0000
commit60e1b3ea89c6103cd5b000758721cda1a6a3db76 (patch)
tree5e55be69b74da413703d9b7e3c53f57c196f44bd /gtk/gtkdialog.h
parenta13f698b3a1d5d3376cc60c3ea99b1857f1f8a19 (diff)
downloadgtk+-60e1b3ea89c6103cd5b000758721cda1a6a3db76.tar.gz
Remove container implementation, which isn't thought for handling
2008-06-24 Carlos Garnacho <carlos@imendio.com> * gtk/gtkdialog.[ch]: Remove container implementation, which isn't thought for handling non-direct children. Fixes #539732. (gtk_dialog_pack_start) (gtk_dialog_pack_end): Removed as well, it doesn't provide enough control to API users (removing, reordering...), this is better handled through: (gtk_dialog_get_content_area): New function which just returns dialog->vbox. * gtk/gtk.symbols: Modify accordingly. * docs/reference/gtk/tmpl/gtkdialog.sgml: Update docs to recommend using gtk_dialog_get_[action|content]_area() instead of accessing dialog struct members directly. svn path=/trunk/; revision=20680
Diffstat (limited to 'gtk/gtkdialog.h')
-rw-r--r--gtk/gtkdialog.h13
1 files changed, 2 insertions, 11 deletions
diff --git a/gtk/gtkdialog.h b/gtk/gtkdialog.h
index f25311ecfe..5cc1841b87 100644
--- a/gtk/gtkdialog.h
+++ b/gtk/gtkdialog.h
@@ -171,17 +171,8 @@ void gtk_dialog_response (GtkDialog *dialog,
/* Returns response_id */
gint gtk_dialog_run (GtkDialog *dialog);
-GtkWidget * gtk_dialog_get_action_area (GtkDialog *dialog);
-void gtk_dialog_pack_start (GtkDialog *dialog,
- GtkWidget *widget,
- gboolean expand,
- gboolean fill,
- guint padding);
-void gtk_dialog_pack_end (GtkDialog *dialog,
- GtkWidget *widget,
- gboolean expand,
- gboolean fill,
- guint padding);
+GtkWidget * gtk_dialog_get_action_area (GtkDialog *dialog);
+GtkWidget * gtk_dialog_get_content_area (GtkDialog *dialog);
/* For private use only */
void _gtk_dialog_set_ignore_separator (GtkDialog *dialog,