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
commit68a454055ad3be1ed87830710896e246bce2fc39 (patch)
tree38d11ecd4c24af8a50bc36c4cffef861fb332217 /tests
parent8e72bd82a9ad3a8884fd5af297a258cbbbadfc5d (diff)
downloadlibgpod-tmz-68a454055ad3be1ed87830710896e246bce2fc39.tar.gz
libgpod-tmz-68a454055ad3be1ed87830710896e246bce2fc39.tar.xz
libgpod-tmz-68a454055ad3be1ed87830710896e246bce2fc39.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) {