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



commit 841c9fb3a64b323e40535a8c06fcf97cf927fcae
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]