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



commit 38d19d9865723ec8e26cf9f51dd98500398eaa0b
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 d0e691f..89d2b45 100644
--- a/gtk/gtklabel.c
+++ b/gtk/gtklabel.c
@@ -3711,8 +3711,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]