[gtk+] label: Don't add in the allocation to our clip again
- From: Jasper St. Pierre <jstpierre src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] label: Don't add in the allocation to our clip again
- Date: Tue, 30 Sep 2014 19:43:51 +0000 (UTC)
commit 91d9ae1cc4634c880ccaf825497bb14d2dc800af
Author: Jasper St. Pierre <jstpierre mecheye net>
Date: Tue Sep 30 12:32:47 2014 -0600
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 files changed, 0 insertions(+), 1 deletions(-)
---
diff --git a/gtk/gtklabel.c b/gtk/gtklabel.c
index 024db06..bd92d8c 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);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]