Revision: 2359
http://gtkpod.svn.sourceforge.net/gtkpod/?rev=2359&view=rev
Author: teuf
Date: 2009-05-10 18:34:46 +0000 (Sun, 10 May 2009)
Log Message:
-----------
Add missing g_type_init to tests/get-timezone.c
Modified Paths:
--------------
libgpod/trunk/ChangeLog
libgpod/trunk/tests/get-timezone.c
Modified: libgpod/trunk/ChangeLog
===================================================================
--- libgpod/trunk/ChangeLog 2009-05-10 18:32:30 UTC (rev 2358)
+++ libgpod/trunk/ChangeLog 2009-05-10 18:34:46 UTC (rev 2359)
@@ -1,5 +1,10 @@
2009-05-10 Christophe Fergeau <[email protected]>
+ * tests/get-timezone.c: call g_type_init to avoid tons of glib
+ warnings when reading the SysInfoExtended file.
+
+2009-05-10 Christophe Fergeau <[email protected]>
+
* src/itdb_device.c: seems the logic in get_local_timezone was
inverted, negate the calculated offset before returning it to be
consistant with the values we calculate from iPod data
Modified: libgpod/trunk/tests/get-timezone.c
===================================================================
--- libgpod/trunk/tests/get-timezone.c 2009-05-10 18:32:30 UTC (rev 2358)
+++ libgpod/trunk/tests/get-timezone.c 2009-05-10 18:34:46 UTC (rev 2359)
@@ -12,7 +12,7 @@
* shift, ie my local time is UTC+2. DST won't be shown if not active.
*
*/
-
+#include <glib-object.h>
#include <errno.h>
#include <stdio.h>
#include <itdb.h>
@@ -23,6 +23,8 @@
char *mountpoint;
Itdb_Device *device;
+ g_type_init();
+
if (argc >= 2) {
mountpoint = argv[1];
} else {
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image
processing features enabled. http://p.sf.net/sfu/kodak-com
_______________________________________________
gtkpod-cvs2 mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gtkpod-cvs2