diff options
author | Christophe Fergeau <teuf@gnome.org> | 2008-07-29 20:10:13 +0000 |
---|---|---|
committer | Christophe Fergeau <teuf@gnome.org> | 2008-07-29 20:10:13 +0000 |
commit | 3d4dcd608dedba63d189cd70261361666acf1395 (patch) | |
tree | c4fbfa3215eb1377e1f70ff10296ab1dea5b9c88 /tests | |
parent | 41157543e001f922623bbf3627c1cf142cb243f5 (diff) | |
download | libgpod-3d4dcd608dedba63d189cd70261361666acf1395.tar.gz libgpod-3d4dcd608dedba63d189cd70261361666acf1395.tar.xz libgpod-3d4dcd608dedba63d189cd70261361666acf1395.zip |
Use GError in SysInfoExtended parsing
git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@2067 f01d2545-417e-4e96-918e-98f8d0dbbcb6
Diffstat (limited to 'tests')
-rw-r--r-- | tests/test-sysinfo-extended-parsing.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/test-sysinfo-extended-parsing.c b/tests/test-sysinfo-extended-parsing.c index 86731d1..3c99f99 100644 --- a/tests/test-sysinfo-extended-parsing.c +++ b/tests/test-sysinfo-extended-parsing.c @@ -6,14 +6,14 @@ int main (int argc, char **argv) { SysInfoIpodProperties *props; - + GError *error = NULL; if (argc != 2) return(1); g_type_init (); - props = itdb_sysinfo_extended_parse (argv[1]); + props = itdb_sysinfo_extended_parse (argv[1], &error); if (props == NULL) { - g_print ("Couldn't parse %s\n", argv[1]); + g_print ("Couldn't parse %s: %s\n", argv[1], error->message); } itdb_sysinfo_properties_dump (props); itdb_sysinfo_properties_free (props); |