[gtk+] test/testgtk.c: Fix compilation warning



commit 1796e2f6ba961894663c9843438880e5076a9723
Author: Javier JardÃn <jjardon gnome org>
Date:   Tue Jan 3 03:35:02 2012 +0100

    test/testgtk.c: Fix compilation warning

 tests/testgtk.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/tests/testgtk.c b/tests/testgtk.c
index 45f6ce6..34d5f31 100644
--- a/tests/testgtk.c
+++ b/tests/testgtk.c
@@ -430,7 +430,7 @@ pattern_set_bg (GtkWidget   *widget,
 		GdkWindow   *child,
 		gint         level)
 {
-  static const GdkRGBA colors[] = {
+  static GdkRGBA colors[] = {
     { 0.27, 0.27, 1.0, 1.0 },
     { 0.53, 0.53, 1.0, 1.0},
     { 0.67, 0.67, 1.0, 1.0 }



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]