[gtk+/wip/baedert/drawing: 81/396] spinner: Set clip



commit 3ab46046cc67e62dd90b6fbaa91a7a979ce9c326
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]