[libgdata/libgdata-0-6] introspection: Fix the type name registered by libgdata for GTimeVal



commit e2cd2a37c8b77b27c2e52396425492352aa6be12
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 f0ca966..8562bcd 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]