[gtk+/gtk-2-90: 3/161] Remove deprecated functions from GtkBox



commit 1aba7623ac604ac3ca067e25c592549be8a91a1b
Author: Christian Dywan <christian twotoasts de>
Date:   Wed Oct 7 17:38:23 2009 +0200

    Remove deprecated functions from GtkBox

 gtk/gtkbox.c |   44 --------------------------------------------
 gtk/gtkbox.h |    7 -------
 2 files changed, 0 insertions(+), 51 deletions(-)
---
diff --git a/gtk/gtkbox.c b/gtk/gtkbox.c
index 1ebcbcf..6a26218 100644
--- a/gtk/gtkbox.c
+++ b/gtk/gtkbox.c
@@ -851,50 +851,6 @@ gtk_box_pack_end (GtkBox    *box,
 }
 
 /**
- * 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
  * @homogeneous: a boolean value, %TRUE to create equal allotments,
diff --git a/gtk/gtkbox.h b/gtk/gtkbox.h
index 914683b..e86209e 100644
--- a/gtk/gtkbox.h
+++ b/gtk/gtkbox.h
@@ -92,13 +92,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);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]