From 91d9ae1cc4634c880ccaf825497bb14d2dc800af Mon Sep 17 00:00:00 2001 From: "Jasper St. Pierre" Date: Tue, 30 Sep 2014 12:32:47 -0600 Subject: [PATCH] label: Don't add in the allocation to our clip again _gtk_widget_set_simple_clip already takes the allocation into account, so we don't need to do it here. --- gtk/gtklabel.c | 1 - 1 file changed, 1 deletion(-) diff --git a/gtk/gtklabel.c b/gtk/gtklabel.c index 024db06884..bd92d8c412 100644 --- a/gtk/gtklabel.c +++ b/gtk/gtklabel.c @@ -4053,7 +4053,6 @@ gtk_label_size_allocate (GtkWidget *widget, } gtk_label_get_ink_rect (label, &clip_rect); - gdk_rectangle_union (&clip_rect, allocation, &clip_rect); _gtk_widget_set_simple_clip (widget, &clip_rect); }