Deprecate gtk_box_pack_{start,end}_defaults

svn path=/trunk/; revision=20786
This commit is contained in:
Matthias Clasen 2008-07-06 04:46:36 +00:00
parent 1fbe931f0c
commit 36f5e8d776
4 changed files with 17 additions and 1 deletions

View File

@ -1,3 +1,11 @@
2008-07-06 Matthias Clasen <mclasen@redhat.com>
Bug 540917 deprecate pack_start_defaults()
* gtk/gtk.symbols:
* gtk/gtkbox.[hc]: Deprecated gtk_box_pack_{start,end}_defaults.
Proposed by Owen Taylor
2008-07-05 Matthias Clasen <mclasen@redhat.com>
* configure.in: Bump version

View File

@ -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

View File

@ -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,

View File

@ -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);