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



commit 8f4f26f1a697c0ae03cf7f303f608cdff33af3a9
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 6fc5db8..efdb6c6 100644
--- a/gtk/gtklabel.c
+++ b/gtk/gtklabel.c
@@ -3717,8 +3717,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]