[gtk+/gtk-2-90: 3/200] Remove deprecated functions from GtkBox
- From: Javier Jardón <jjardon src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/gtk-2-90: 3/200] Remove deprecated functions from GtkBox
- Date: Sun, 2 May 2010 23:56:52 +0000 (UTC)
commit 0d7d1ae8dc98462a9f0c877da8f4051dab0e5bfb
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 4e69b44..b9f5321 100644
--- a/gtk/gtkbox.c
+++ b/gtk/gtkbox.c
@@ -1331,50 +1331,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 038c3b1..03075db 100644
--- a/gtk/gtkbox.h
+++ b/gtk/gtkbox.h
@@ -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);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]