[glib/wip/gproperty: 28/28] Enum types are glong, not gulong
- From: Emmanuele Bassi <ebassi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib/wip/gproperty: 28/28] Enum types are glong, not gulong
- Date: Fri, 17 Feb 2012 15:17:10 +0000 (UTC)
commit 759b1f6dcaebb9d93086a96b518be535837d5495
Author: Emmanuele Bassi <ebassi gnome org>
Date: Fri Feb 17 14:28:02 2012 +0000
Enum types are glong, not gulong
gobject/gproperty.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/gobject/gproperty.c b/gobject/gproperty.c
index 89ff1d5..0c6321e 100644
--- a/gobject/gproperty.c
+++ b/gobject/gproperty.c
@@ -1317,7 +1317,7 @@ g_enum_property_new (const gchar *name,
prop->is_installed = FALSE;
- prop->type_size = sizeof (gulong);
+ prop->type_size = sizeof (glong);
internal = (GEnumProperty *) prop;
internal->setter = setter;
@@ -1328,7 +1328,7 @@ g_enum_property_new (const gchar *name,
static inline gboolean
g_enum_property_validate (GProperty *property,
- gulong value)
+ glong value)
{
GEnumProperty *e_prop = (GEnumProperty *) property;
@@ -1343,8 +1343,8 @@ g_enum_property_validate (GProperty *property,
static inline gboolean
g_enum_property_set_value (GProperty *property,
- gpointer gobject,
- gulong value)
+ gpointer gobject,
+ glong value)
{
gboolean retval = FALSE;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]