diff options
Diffstat (limited to 'plugins/yaml')
-rw-r--r-- | plugins/yaml/python/collection.c | 4 | ||||
-rw-r--r-- | plugins/yaml/python/node.c | 2 | ||||
-rw-r--r-- | plugins/yaml/python/pair.c | 4 |
3 files changed, 7 insertions, 3 deletions
diff --git a/plugins/yaml/python/collection.c b/plugins/yaml/python/collection.c index f8e29b3..a3ea76c 100644 --- a/plugins/yaml/python/collection.c +++ b/plugins/yaml/python/collection.c @@ -253,7 +253,9 @@ bool register_python_yaml_collection(PyObject *module) dict = PyModule_GetDict(module); - if (!register_class_for_pygobject(dict, G_TYPE_YAML_COLLEC, type, get_python_yaml_node_type())) + /* TODO : ensure get_python_yaml_node_type() */ + + if (!register_class_for_pygobject(dict, G_TYPE_YAML_COLLEC, type)) return false; return true; diff --git a/plugins/yaml/python/node.c b/plugins/yaml/python/node.c index ad030ed..7f7c383 100644 --- a/plugins/yaml/python/node.c +++ b/plugins/yaml/python/node.c @@ -175,7 +175,7 @@ bool register_python_yaml_node(PyObject *module) dict = PyModule_GetDict(module); - if (!register_class_for_pygobject(dict, G_TYPE_YAML_NODE, type, &PyGObject_Type)) + if (!register_class_for_pygobject(dict, G_TYPE_YAML_NODE, type)) return false; return true; diff --git a/plugins/yaml/python/pair.c b/plugins/yaml/python/pair.c index 65132f6..59ca0a9 100644 --- a/plugins/yaml/python/pair.c +++ b/plugins/yaml/python/pair.c @@ -530,7 +530,9 @@ bool register_python_yaml_pair(PyObject *module) dict = PyModule_GetDict(module); - if (!register_class_for_pygobject(dict, G_TYPE_YAML_PAIR, type, get_python_yaml_node_type())) + /* TODO : get_python_yaml_node_type() */ + + if (!register_class_for_pygobject(dict, G_TYPE_YAML_PAIR, type)) return false; if (!define_yaml_pair_constants(type)) |