[gtk/wip/baedert/box2: 16/21] box: Remove gtk_box_pack_end



commit 77fce7081576dd586a58b4c5b48e84289ff7e666
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 218aa13b34..f4812cf073 100644
--- a/docs/reference/gtk/gtk4-sections.txt
+++ b/docs/reference/gtk/gtk4-sections.txt
@@ -323,7 +323,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]