[gtk+] tests: Fix compiler warnings



commit 4ca42d978557c3a15207eed7f9a06ad3870c7806
Author: Benjamin Otte <otte redhat com>
Date:   Wed Jun 29 18:00:37 2011 +0200

    tests: Fix compiler warnings

 tests/a11y/accessibility-dump.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/tests/a11y/accessibility-dump.c b/tests/a11y/accessibility-dump.c
index f6737ec..1a1c213 100644
--- a/tests/a11y/accessibility-dump.c
+++ b/tests/a11y/accessibility-dump.c
@@ -235,8 +235,8 @@ dump_attribute_set (GString         *string,
 static gint
 compare_attr (gconstpointer a, gconstpointer b)
 {
-  AtkAttribute *aattr = a;
-  AtkAttribute *battr = b;
+  const AtkAttribute *aattr = a;
+  const AtkAttribute *battr = b;
 
   return strcmp (aattr->name, battr->name);
 }



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