[gtk+/a11y] tests: Fix compiler warnings
- From: Benjamin Otte <otte src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/a11y] tests: Fix compiler warnings
- Date: Wed, 29 Jun 2011 16:18:55 +0000 (UTC)
commit e8ad9bfba860cc2e3aa6a25f9ab3105a8a7dad3c
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]