diff options
author | Matthias Clasen <matthiasc@src.gnome.org> | 2008-07-06 04:46:36 +0000 |
---|---|---|
committer | Matthias Clasen <matthiasc@src.gnome.org> | 2008-07-06 04:46:36 +0000 |
commit | 36f5e8d776259ea7ded92f4421f0ddcc5d8cde5b (patch) | |
tree | 308e70c81bd8d1772f73d891da9a7e3ff8277ef6 /gtk | |
parent | 1fbe931f0ce0b91fbae6e2fc0a3fee6049abd0cf (diff) | |
download | gtk+-36f5e8d776259ea7ded92f4421f0ddcc5d8cde5b.tar.gz |
Deprecate gtk_box_pack_{start,end}_defaults
svn path=/trunk/; revision=20786
Diffstat (limited to 'gtk')
-rw-r--r-- | gtk/gtk.symbols | 4 | ||||
-rw-r--r-- | gtk/gtkbox.c | 4 | ||||
-rw-r--r-- | gtk/gtkbox.h | 2 |
3 files changed, 9 insertions, 1 deletions
diff --git a/gtk/gtk.symbols b/gtk/gtk.symbols index 41f9644f01..9a25a78726 100644 --- a/gtk/gtk.symbols +++ b/gtk/gtk.symbols @@ -412,9 +412,11 @@ gtk_box_get_homogeneous gtk_box_get_spacing gtk_box_get_type G_GNUC_CONST gtk_box_pack_end -gtk_box_pack_end_defaults gtk_box_pack_start +#ifndef GTK_DISABLE_DEPRECATED +gtk_box_pack_end_defaults gtk_box_pack_start_defaults +#endif gtk_box_query_child_packing gtk_box_reorder_child gtk_box_set_child_packing diff --git a/gtk/gtkbox.c b/gtk/gtkbox.c index f78e88388f..409761614e 100644 --- a/gtk/gtkbox.c +++ b/gtk/gtkbox.c @@ -441,6 +441,8 @@ gtk_box_pack_end (GtkBox *box, * Parameters for how to pack the child @widget, #GtkBox:expand, * #GtkBox:fill and #GtkBox:padding, are given their default * values, %TRUE, %TRUE, and 0, respectively. + * + * Deprecated: 2.14: Use gtk_box_pack_start() */ void gtk_box_pack_start_defaults (GtkBox *box, @@ -461,6 +463,8 @@ gtk_box_pack_start_defaults (GtkBox *box, * Parameters for how to pack the child @widget, #GtkBox:expand, * #GtkBox:fill and #GtkBox:padding, are given their default * values, %TRUE, %TRUE, and 0, respectively. + * + * Deprecated: 2.14: Use gtk_box_pack_end() */ void gtk_box_pack_end_defaults (GtkBox *box, diff --git a/gtk/gtkbox.h b/gtk/gtkbox.h index 28d42a3e37..9ab9df2eb6 100644 --- a/gtk/gtkbox.h +++ b/gtk/gtkbox.h @@ -88,10 +88,12 @@ void gtk_box_pack_end (GtkBox *box, gboolean expand, gboolean fill, guint padding); +#ifndef GTK_DISABLE_DEPRECATED void gtk_box_pack_start_defaults (GtkBox *box, GtkWidget *widget); void gtk_box_pack_end_defaults (GtkBox *box, GtkWidget *widget); +#endif void gtk_box_set_homogeneous (GtkBox *box, gboolean homogeneous); gboolean gtk_box_get_homogeneous (GtkBox *box); |