forked from AuroraMiddleware/gtk
Remove deprecated functions from GtkBox
This commit is contained in:
parent
de29ee15c6
commit
0d7d1ae8dc
44
gtk/gtkbox.c
44
gtk/gtkbox.c
@ -1330,50 +1330,6 @@ gtk_box_pack_end (GtkBox *box,
|
||||
gtk_box_pack (box, child, expand, fill, padding, GTK_PACK_END);
|
||||
}
|
||||
|
||||
/**
|
||||
* gtk_box_pack_start_defaults:
|
||||
* @box: a #GtkBox
|
||||
* @widget: the #GtkWidget to be added to @box
|
||||
*
|
||||
* Adds @widget to @box, packed with reference to the start of @box.
|
||||
* The child is packed after any other child packed with reference
|
||||
* to the start of @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,
|
||||
GtkWidget *child)
|
||||
{
|
||||
gtk_box_pack_start (box, child, TRUE, TRUE, 0);
|
||||
}
|
||||
|
||||
/**
|
||||
* gtk_box_pack_end_defaults:
|
||||
* @box: a #GtkBox
|
||||
* @widget: the #GtkWidget to be added to @box
|
||||
*
|
||||
* Adds @widget to @box, packed with reference to the end of @box.
|
||||
* The child is packed after any other child packed with reference
|
||||
* to the start of @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,
|
||||
GtkWidget *child)
|
||||
{
|
||||
gtk_box_pack_end (box, child, TRUE, TRUE, 0);
|
||||
}
|
||||
|
||||
/**
|
||||
* gtk_box_set_homogeneous:
|
||||
* @box: a #GtkBox
|
||||
|
@ -114,13 +114,6 @@ void gtk_box_pack_end (GtkBox *box,
|
||||
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);
|
||||
|
Loading…
Reference in New Issue
Block a user