[aravis] enumeration: set value_type to G_TYPE_STRING.
- From: Emmanuel Pacaud <emmanuel src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [aravis] enumeration: set value_type to G_TYPE_STRING.
- Date: Wed, 4 Sep 2013 09:43:02 +0000 (UTC)
commit cf76a65cfc8deae3c043b9918896448443f724ff
Author: Emmanuel Pacaud <emmanuel gnome org>
Date: Wed Sep 4 11:42:40 2013 +0200
enumeration: set value_type to G_TYPE_STRING.
src/arvgcenumeration.c | 7 +++++++
1 files changed, 7 insertions(+), 0 deletions(-)
---
diff --git a/src/arvgcenumeration.c b/src/arvgcenumeration.c
index 4107135..eb624c3 100644
--- a/src/arvgcenumeration.c
+++ b/src/arvgcenumeration.c
@@ -106,6 +106,12 @@ arv_gc_enumeration_get_value_as_string (ArvGcFeatureNode *node, GError **error)
return string;
}
+GType
+arv_gc_enumeration_get_value_type (ArvGcFeatureNode *node)
+{
+ return G_TYPE_STRING;
+}
+
/* ArvGcEnumeration implementation */
@@ -437,6 +443,7 @@ arv_gc_enumeration_class_init (ArvGcEnumerationClass *this_class)
dom_node_class->pre_remove_child = arv_gc_enumeration_pre_remove_child;
gc_feature_node_class->set_value_from_string = arv_gc_enumeration_set_value_from_string;
gc_feature_node_class->get_value_as_string = arv_gc_enumeration_get_value_as_string;
+ gc_feature_node_class->get_value_type = arv_gc_enumeration_get_value_type;
}
/* ArvGcInteger interface implementation */
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]