summaryrefslogtreecommitdiffstats
path: root/bindings/python
diff options
context:
space:
mode:
authorBenjamin Dauvergne <bdauvergne@entrouvert.com>2010-02-01 19:50:09 +0000
committerBenjamin Dauvergne <bdauvergne@entrouvert.com>2010-02-01 19:50:09 +0000
commit0c67831f552607514700b5f27952f8fb1b6809cf (patch)
treeba0ec66f0a1696f3b42f1a597320044f67b5c352 /bindings/python
parent7385277cebe64fff044af60631675977a1980fd9 (diff)
downloadlasso-0c67831f552607514700b5f27952f8fb1b6809cf.tar.gz
lasso-0c67831f552607514700b5f27952f8fb1b6809cf.tar.xz
lasso-0c67831f552607514700b5f27952f8fb1b6809cf.zip
Bindings: use lasso_return_xxx macros instead of GLib ones
Diffstat (limited to 'bindings/python')
-rw-r--r--bindings/python/wrapper_top.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/bindings/python/wrapper_top.c b/bindings/python/wrapper_top.c
index 24eb93ac..d6b5ba20 100644
--- a/bindings/python/wrapper_top.c
+++ b/bindings/python/wrapper_top.c
@@ -241,7 +241,7 @@ set_list_of_strings(GList **a_list, PyObject *seq) {
GList *list = NULL;
int l = 0,i;
- g_return_if_fail(valid_seq(seq));
+ lasso_return_if_fail(valid_seq(seq));
if (seq != Py_None) {
l = PySequence_Length(seq);
}
@@ -269,7 +269,7 @@ set_list_of_xml_nodes(GList **a_list, PyObject *seq) {
GList *list = NULL;
int l = 0,i;
- g_return_if_fail(valid_seq(seq));
+ lasso_return_if_fail(valid_seq(seq));
if (seq != Py_None) {
l = PySequence_Length(seq);
}
@@ -299,7 +299,7 @@ set_list_of_pygobject(GList **a_list, PyObject *seq) {
GList *list = NULL;
int l = 0,i;
- g_return_if_fail(valid_seq(seq));
+ lasso_return_if_fail(valid_seq(seq));
if (seq != Py_None) {
l = PySequence_Length(seq);
}