diff options
author | Sergey Udaltsov <svu@gnome.org> | 2007-05-13 22:56:53 +0000 |
---|---|---|
committer | Sergey Udaltsov <svu@gnome.org> | 2007-05-13 22:56:53 +0000 |
commit | e188181d4b9204742dd2fe421fcd904ad74ce79e (patch) | |
tree | ebd6d31ad9f57b0158646c81edce996d422ce270 /tests | |
parent | 3b0823c40b4bbf99261b4138c6b1c1d980efc4c8 (diff) | |
download | libxklavier-e188181d4b9204742dd2fe421fcd904ad74ce79e.tar.gz |
processing vendor element
Diffstat (limited to 'tests')
-rw-r--r-- | tests/test_config.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/tests/test_config.c b/tests/test_config.c index ff75ee6..eade27e 100644 --- a/tests/test_config.c +++ b/tests/test_config.c @@ -85,8 +85,11 @@ static void print_model(XklConfigRegistry * config, const XklConfigItem * item, gpointer data) { - printf("[%s][%s][%s]\n", item->name, item->description, - item->short_description); + gchar *vendor = + (gchar *) g_object_get_data(G_OBJECT(item), XCI_PROP_VENDOR); + printf("[%s][%s][%s] by %s\n", item->name, item->description, + item->short_description, + vendor == NULL ? "unknown" : vendor); } static void |