[gtk+/wip/baedert/drawing: 61/371] spinner: Set clip
- From: Timm Bäder <baedert src gnome org>
 
- To: commits-list gnome org
 
- Cc: 
 
- Subject: [gtk+/wip/baedert/drawing: 61/371] spinner: Set clip
 
- Date: Sun, 16 Jul 2017 15:26:57 +0000 (UTC)
 
commit 12ad4f503b2fc770c1e37c3b86e487b1d57b4c6d
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]