From 0c67831f552607514700b5f27952f8fb1b6809cf Mon Sep 17 00:00:00 2001 From: Benjamin Dauvergne Date: Mon, 1 Feb 2010 19:50:09 +0000 Subject: Bindings: use lasso_return_xxx macros instead of GLib ones --- bindings/python/wrapper_top.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'bindings/python') 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); } -- cgit