[gtk] box: Remove gtk_box_pack_end



commit a543ed84f6a93a5db87c322cafb0da73444dbc72
Author: Timm Bäder <mail baedert org>
Date:   Sat Dec 29 09:43:15 2018 +0100

    box: Remove gtk_box_pack_end

 docs/reference/gtk/gtk4-sections.txt |  1 -
 gtk/gtkbox.c                         | 16 ----------------
 gtk/gtkbox.h                         |  4 ----
 3 files changed, 21 deletions(-)
---
diff --git a/docs/reference/gtk/gtk4-sections.txt b/docs/reference/gtk/gtk4-sections.txt
index f8f6717680..1a1677a671 100644
--- a/docs/reference/gtk/gtk4-sections.txt
+++ b/docs/reference/gtk/gtk4-sections.txt
@@ -320,7 +320,6 @@ GtkBox
 GtkBoxClass
 gtk_box_new
 gtk_box_pack_start
-gtk_box_pack_end
 gtk_box_get_homogeneous
 gtk_box_set_homogeneous
 gtk_box_get_spacing
diff --git a/gtk/gtkbox.c b/gtk/gtkbox.c
index e5495dd18f..3db2291886 100644
--- a/gtk/gtkbox.c
+++ b/gtk/gtkbox.c
@@ -1020,22 +1020,6 @@ gtk_box_pack_start (GtkBox    *box,
   gtk_box_pack (box, child);
 }
 
-/**
- * gtk_box_pack_end:
- * @box: a #GtkBox
- * @child: the #GtkWidget to be added to @box
- *
- * Adds @child to @box, packed with reference to the end of @box.
- * The @child is packed after (away from end of) any other child
- * packed with reference to the end of @box.
- */
-void
-gtk_box_pack_end (GtkBox    *box,
-                 GtkWidget *child)
-{
-  gtk_box_pack (box, child);
-}
-
 /**
  * gtk_box_set_homogeneous:
  * @box: a #GtkBox
diff --git a/gtk/gtkbox.h b/gtk/gtkbox.h
index dd71895562..aa148db0db 100644
--- a/gtk/gtkbox.h
+++ b/gtk/gtkbox.h
@@ -80,10 +80,6 @@ GDK_AVAILABLE_IN_ALL
 void        gtk_box_pack_start          (GtkBox         *box,
                                          GtkWidget      *child);
 GDK_AVAILABLE_IN_ALL
-void        gtk_box_pack_end            (GtkBox         *box,
-                                         GtkWidget      *child);
-
-GDK_AVAILABLE_IN_ALL
 void        gtk_box_set_homogeneous     (GtkBox         *box,
                                          gboolean        homogeneous);
 GDK_AVAILABLE_IN_ALL


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