[libgdata] introspection: Fix the type name registered by libgdata for GTimeVal



commit cd209b1b07bf163a011efbadaf2f742fee1edd2a
Author: Philip Withnall <philip tecnocode co uk>
Date:   Wed Sep 29 14:54:55 2010 +0100

    introspection: Fix the type name registered by libgdata for GTimeVal
    
    This stops the introspection build failing because GData was stomping on
    GLib's namespace when registering GTimeVal with the type system.

 gdata/gdata-types.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gdata/gdata-types.c b/gdata/gdata-types.c
index 4b1ca45..e5612e2 100644
--- a/gdata/gdata-types.c
+++ b/gdata/gdata-types.c
@@ -47,7 +47,7 @@ gdata_g_time_val_get_type (void)
 	static GType type_id = 0;
 
 	if (type_id == 0) {
-		type_id = g_boxed_type_register_static (g_intern_static_string ("GTimeVal"),
+		type_id = g_boxed_type_register_static (g_intern_static_string ("GDataTimeVal"),
 		                                        (GBoxedCopyFunc) gdata_g_time_val_copy,
 		                                        (GBoxedFreeFunc) g_free);
 	}



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]