[gtk+/wip/unfocused-fixes: 7/9] spinner: Stop setting state flags on the style context for drawing
- From: Rui Matos <rtcm src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/wip/unfocused-fixes: 7/9] spinner: Stop setting state flags on the style context for drawing
- Date: Wed, 21 Dec 2011 23:52:51 +0000 (UTC)
commit 17b9bb6fa035f401eed07aebe816d1771fa75c30
Author: Rui Matos <tiagomatos gmail com>
Date: Wed Dec 21 23:06:39 2011 +0000
spinner: Stop setting state flags on the style context for drawing
gtk/gtkspinner.c | 3 ---
1 files changed, 0 insertions(+), 3 deletions(-)
---
diff --git a/gtk/gtkspinner.c b/gtk/gtkspinner.c
index e495603..19d2be9 100644
--- a/gtk/gtkspinner.c
+++ b/gtk/gtkspinner.c
@@ -202,12 +202,9 @@ gtk_spinner_draw (GtkWidget *widget,
cairo_t *cr)
{
GtkStyleContext *context;
- GtkStateFlags state;
context = gtk_widget_get_style_context (widget);
- state = gtk_widget_get_state_flags (widget);
- gtk_style_context_set_state (context, state);
gtk_render_activity (context, cr, 0, 0,
gtk_widget_get_allocated_width (widget),
gtk_widget_get_allocated_height (widget));
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]