diff options
author | Matthias Clasen <mclasen@redhat.com> | 2010-05-22 00:15:00 -0400 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2010-05-22 00:15:00 -0400 |
commit | 94abf4733f30a5c0ab784d09f99b978e346d53b2 (patch) | |
tree | 5fb11b60ba4173711a034e0c20b5e5f8fb37039e /gtk/gtkbox.h | |
parent | bb91ebcb8fc914a6069e9962321d3f9b5ed9f714 (diff) | |
download | gtk+-94abf4733f30a5c0ab784d09f99b978e346d53b2.tar.gz |
Deprecate GtkBoxChild
This was discussed in bug 613132.
Diffstat (limited to 'gtk/gtkbox.h')
-rw-r--r-- | gtk/gtkbox.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/gtk/gtkbox.h b/gtk/gtkbox.h index ee6595699c..7e9a4cdf18 100644 --- a/gtk/gtkbox.h +++ b/gtk/gtkbox.h @@ -48,7 +48,6 @@ G_BEGIN_DECLS typedef struct _GtkBox GtkBox; typedef struct _GtkBoxClass GtkBoxClass; -typedef struct _GtkBoxChild GtkBoxChild; struct _GtkBox { @@ -86,7 +85,11 @@ struct _GtkBoxClass * Use gtk_box_query_child_packing() and gtk_box_set_child_packing() to query * and set the #GtkBoxChild.padding, #GtkBoxChild.expand, #GtkBoxChild.fill and * #GtkBoxChild.pack fields. + * + * Deprecated: 2.22: Use gtk_container_get_children() instead. */ +#if !defined (GTK_DISABLE_DEPRECATED) || defined (GTK_COMPILATION) +typedef struct _GtkBoxChild GtkBoxChild; struct _GtkBoxChild { GtkWidget *widget; @@ -96,7 +99,7 @@ struct _GtkBoxChild guint pack : 1; guint is_secondary : 1; }; - +#endif GType gtk_box_get_type (void) G_GNUC_CONST; GtkWidget* _gtk_box_new (GtkOrientation orientation, |