[pygobject/gsoc2009: 91/160] Refactor _wrap_g_registered_type_info_get_g_type
- From: Simon van der Linden <svdlinden src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [pygobject/gsoc2009: 91/160] Refactor _wrap_g_registered_type_info_get_g_type
- Date: Fri, 14 Aug 2009 21:30:27 +0000 (UTC)
commit 602873ce203b8524438194816629d0f8c04d27c9
Author: Simon van der Linden <svdlinden src gnome org>
Date: Mon Aug 3 14:08:35 2009 +0200
Refactor _wrap_g_registered_type_info_get_g_type
gi/pygiinfo.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/gi/pygiinfo.c b/gi/pygiinfo.c
index 0e05d89..82f3b51 100644
--- a/gi/pygiinfo.c
+++ b/gi/pygiinfo.c
@@ -1041,12 +1041,12 @@ static PyMethodDef _PyGIFunctionInfo_methods[] = {
PYGIINFO_DEFINE_TYPE("RegisteredTypeInfo", GIRegisteredTypeInfo, PyGIBaseInfo_Type);
static PyObject *
-_wrap_g_registered_type_info_get_g_type (PyGIBaseInfo* self)
+_wrap_g_registered_type_info_get_g_type(PyGIBaseInfo *self)
{
- int gtype;
+ GType type;
- gtype = g_registered_type_info_get_g_type ((GIRegisteredTypeInfo*)self->info);
- return pyg_type_wrapper_new(gtype);
+ type = g_registered_type_info_get_g_type((GIRegisteredTypeInfo *)self->info);
+ return pyg_type_wrapper_new(type);
}
static PyMethodDef _PyGIRegisteredTypeInfo_methods[] = {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]