seed r492 - trunk/libseed



Author: racarr
Date: Sat Dec 20 02:56:45 2008
New Revision: 492
URL: http://svn.gnome.org/viewvc/seed?rev=492&view=rev

Log:
Consistently use glong for enums.

Modified:
   trunk/libseed/seed-engine.c

Modified: trunk/libseed/seed-engine.c
==============================================================================
--- trunk/libseed/seed-engine.c	(original)
+++ trunk/libseed/seed-engine.c	Sat Dec 20 02:56:45 2008
@@ -802,7 +802,7 @@
 	}
 
 	if (g_type_is_a(spec->value_type, G_TYPE_ENUM))
-		type = G_TYPE_INT;
+		type = G_TYPE_LONG;
 	else
 		type = spec->value_type;
 
@@ -958,6 +958,8 @@
 					if (name[j] == '-')
 						name[j] = '_';
 				}
+				
+				
 
 				seed_object_set_property(ctx, enum_class, name, value_ref);
 



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