[nautilus] canvas: fix an ACTIVE -> NORMAL typo from GtkStyleContext conversion
- From: Cosimo Cecchi <cosimoc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [nautilus] canvas: fix an ACTIVE -> NORMAL typo from GtkStyleContext conversion
- Date: Thu, 20 Jan 2011 11:58:39 +0000 (UTC)
commit 2a1fbaf839fc7eaae505e3534acd317e9dd47b1b
Author: Cosimo Cecchi <cosimoc gnome org>
Date: Wed Jan 19 19:44:48 2011 +0100
canvas: fix an ACTIVE -> NORMAL typo from GtkStyleContext conversion
eel/eel-canvas.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/eel/eel-canvas.c b/eel/eel-canvas.c
index 4e869d7..a63bada 100644
--- a/eel/eel-canvas.c
+++ b/eel/eel-canvas.c
@@ -2971,7 +2971,7 @@ eel_canvas_draw_background (EelCanvas *canvas,
cairo_save (cr);
/* By default, we use the style background. */
style_context = gtk_widget_get_style_context (GTK_WIDGET (canvas));
- gtk_style_context_get_background_color (style_context, GTK_STATE_FLAG_ACTIVE, &color);
+ gtk_style_context_get_background_color (style_context, GTK_STATE_FLAG_NORMAL, &color);
gdk_cairo_set_source_rgba (cr, &color);
gdk_cairo_rectangle (cr, &rect);
cairo_fill (cr);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]