[gtk+/wip/baedert/drawing: 65/348] spinner: Set clip
- From: Timm Bäder <baedert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/wip/baedert/drawing: 65/348] spinner: Set clip
- Date: Sat, 8 Jul 2017 10:36:16 +0000 (UTC)
commit 11953db91c2f0f0cd4f0f34a4bd08bffa597a912
Author: Timm Bäder <mail baedert org>
Date: Thu May 4 16:09:13 2017 +0200
spinner: Set clip
gtk/gtkspinner.c | 4 +---
1 files changed, 1 insertions(+), 3 deletions(-)
---
diff --git a/gtk/gtkspinner.c b/gtk/gtkspinner.c
index b11c806..9861f86 100644
--- a/gtk/gtkspinner.c
+++ b/gtk/gtkspinner.c
@@ -103,9 +103,7 @@ static void
gtk_spinner_size_allocate (GtkWidget *widget,
GtkAllocation *allocation)
{
- GtkAllocation clip;
-
- gtk_widget_set_allocation (widget, allocation);
+ GtkAllocation clip = *allocation;
gtk_css_gadget_allocate (GTK_SPINNER (widget)->priv->gadget,
allocation,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]