[pygobject] Fix indentation of _pygi_argument_to_object()
- From: Martin Pitt <martinpitt src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pygobject] Fix indentation of _pygi_argument_to_object()
- Date: Mon, 23 Jan 2012 11:20:49 +0000 (UTC)
commit 09f003729eac9d553a208c343c2a14d253b77d9a
Author: Alberto Mardegan <mardy users sourceforge net>
Date: Mon Jan 23 12:42:21 2012 +0200
Fix indentation of _pygi_argument_to_object()
Side issue in https://bugzilla.gnome.org/show_bug.cgi?id=666270
Signed-off-by: Martin Pitt <martin pitt ubuntu com>
gi/pygi-argument.c | 26 +++++++++++++-------------
1 files changed, 13 insertions(+), 13 deletions(-)
---
diff --git a/gi/pygi-argument.c b/gi/pygi-argument.c
index 3b36c2f..bf2ed8a 100644
--- a/gi/pygi-argument.c
+++ b/gi/pygi-argument.c
@@ -1785,19 +1785,19 @@ _pygi_argument_to_object (GIArgument *arg,
break;
}
case GI_TYPE_TAG_ERROR:
- if (pyglib_error_check ( (GError **) &arg->v_pointer)) {
- PyObject *err_type;
- PyObject *err_value;
- PyObject *err_trace;
- PyErr_Fetch (&err_type, &err_value, &err_trace);
- Py_XDECREF (err_type);
- Py_XDECREF (err_trace);
- object = err_value;
- } else {
- object = Py_None;
- Py_INCREF (object);
- break;
- }
+ if (pyglib_error_check ( (GError **) &arg->v_pointer)) {
+ PyObject *err_type;
+ PyObject *err_value;
+ PyObject *err_trace;
+ PyErr_Fetch (&err_type, &err_value, &err_trace);
+ Py_XDECREF (err_type);
+ Py_XDECREF (err_trace);
+ object = err_value;
+ } else {
+ object = Py_None;
+ Py_INCREF (object);
+ break;
+ }
}
return object;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]