[gtk+/quartz-integration: 371/563] tests: Don't emit a message for every unnamed object
- From: John Ralls <jralls src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/quartz-integration: 371/563] tests: Don't emit a message for every unnamed object
- Date: Sat, 9 Jul 2011 06:37:12 +0000 (UTC)
commit 26206d7ae5ba771e9cd377ab0149c7967e628206
Author: Benjamin Otte <otte redhat com>
Date: Wed Jun 22 04:20:36 2011 +0200
tests: Don't emit a message for every unnamed object
tests/a11y/accessibility-dump.c | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/tests/a11y/accessibility-dump.c b/tests/a11y/accessibility-dump.c
index 3f21523..601ddfb 100644
--- a/tests/a11y/accessibility-dump.c
+++ b/tests/a11y/accessibility-dump.c
@@ -131,9 +131,8 @@ get_name (AtkObject *accessible)
if (name == NULL)
{
- g_test_message ("get_name called on a unnamed %s\n", g_type_name_from_instance ((GTypeInstance *)accessible));
/* Generate a unique, repeatable name */
- name = g_strdup_printf ("unnamed-%s-%d", g_type_name_from_instance ((GTypeInstance*)accessible), unnamed_object_count++);
+ name = g_strdup_printf ("unnamed-%s-%d", G_OBJECT_TYPE_NAME (accessible), unnamed_object_count++);
}
g_object_set_data_full (G_OBJECT (accessible), "gtk-accessibility-dump-name", name, g_free);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]