[gtk+] box: Remove size_allocate_no_center



commit ad1f5fe61ac1377a6cd4a0fdb9354b1036480a16
Author: Timm Bäder <mail baedert org>
Date:   Fri Sep 29 10:49:41 2017 +0200

    box: Remove size_allocate_no_center
    
    GtkBox never has a center widget these days.

 gtk/gtkbox.c |   17 ++++-------------
 1 files changed, 4 insertions(+), 13 deletions(-)
---
diff --git a/gtk/gtkbox.c b/gtk/gtkbox.c
index 45111ed..1929195 100644
--- a/gtk/gtkbox.c
+++ b/gtk/gtkbox.c
@@ -369,10 +369,10 @@ get_spacing (GtkBox *box)
 }
 
 static void
-gtk_box_size_allocate_no_center (GtkWidget           *widget,
-                                 const GtkAllocation *allocation,
-                                 int                  baseline,
-                                 GdkRectangle        *out_clip)
+gtk_box_size_allocate (GtkWidget           *widget,
+                       const GtkAllocation *allocation,
+                       int                  baseline,
+                       GdkRectangle        *out_clip)
 {
   GtkBox *box = GTK_BOX (widget);
   GtkBoxPrivate *private = box->priv;
@@ -666,15 +666,6 @@ gtk_box_size_allocate_no_center (GtkWidget           *widget,
     }
 }
 
-static void
-gtk_box_size_allocate (GtkWidget           *widget,
-                       const GtkAllocation *allocation,
-                       int                  baseline,
-                       GtkAllocation       *out_clip)
-{
-  gtk_box_size_allocate_no_center (widget, allocation, baseline, out_clip);
-}
-
 static GType
 gtk_box_child_type (GtkContainer   *container)
 {


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