[gtk+/wip/baedert/drawing: 81/396] spinner: Set clip
- From: Timm Bäder <baedert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/wip/baedert/drawing: 81/396] spinner: Set clip
- Date: Wed, 19 Jul 2017 11:17:09 +0000 (UTC)
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]