[gtk+/wip/baedert/drawing: 90/359] label: Don't chain up in size_allocate



commit f79dddfd38bca2e9aea49d02a1891891bc57637f
Author: Timm Bäder <mail baedert org>
Date:   Fri May 5 12:45:54 2017 +0200

    label: Don't chain up in size_allocate
    
    It's unnecessary now.

 gtk/gtklabel.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)
---
diff --git a/gtk/gtklabel.c b/gtk/gtklabel.c
index e027238..52d6d5f 100644
--- a/gtk/gtklabel.c
+++ b/gtk/gtklabel.c
@@ -3732,8 +3732,6 @@ gtk_label_size_allocate (GtkWidget     *widget,
   GtkLabelPrivate *priv = label->priv;
   GdkRectangle clip_rect;
 
-  GTK_WIDGET_CLASS (gtk_label_parent_class)->size_allocate (widget, allocation);
-
   if (priv->layout)
     gtk_label_update_layout_width (label);
 


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