seed r492 - trunk/libseed
- From: racarr svn gnome org
- To: svn-commits-list gnome org
- Subject: seed r492 - trunk/libseed
- Date: Sat, 20 Dec 2008 02:56:45 +0000 (UTC)
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]