[gtk+] spinner: Set clip



commit 82a4bcf82477ff08ebce069b7e87a68dc7d2b866
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]