summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorChristophe Fergeau <teuf@gnome.org>2008-07-25 22:18:43 +0000
committerChristophe Fergeau <teuf@gnome.org>2008-07-25 22:18:43 +0000
commite5a5d58741f722f108f0067d63ad5e2b5a89836f (patch)
tree38d11ecd4c24af8a50bc36c4cffef861fb332217 /tests
parentd1030043df70a82138bcb54a5ecd717f4e7011d2 (diff)
downloadlibgpod-e5a5d58741f722f108f0067d63ad5e2b5a89836f.tar.gz
libgpod-e5a5d58741f722f108f0067d63ad5e2b5a89836f.tar.xz
libgpod-e5a5d58741f722f108f0067d63ad5e2b5a89836f.zip
* tests/test-fw-id.c: (main): add missing call to g_type_init
git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@2063 f01d2545-417e-4e96-918e-98f8d0dbbcb6
Diffstat (limited to 'tests')
-rw-r--r--tests/test-fw-id.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/test-fw-id.c b/tests/test-fw-id.c
index 9ec40e9..d900f13 100644
--- a/tests/test-fw-id.c
+++ b/tests/test-fw-id.c
@@ -31,6 +31,8 @@
#include <time.h>
#include <libintl.h>
+#include <glib-object.h>
+
#include "itdb.h"
#include "itdb_device.h"
@@ -45,6 +47,8 @@ main (int argc, char *argv[])
return 1;
}
+
+ g_type_init ();
device = itdb_device_new ();
if (device == NULL) {