[pygobject/gsoc2009: 125/160] Rename pygi_type_find_by_info to pygi_type_find_by_gi_info
- From: Simon van der Linden <svdlinden src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [pygobject/gsoc2009: 125/160] Rename pygi_type_find_by_info to pygi_type_find_by_gi_info
- Date: Fri, 14 Aug 2009 21:34:15 +0000 (UTC)
commit ef7a706246fab9ee191e64d63928dc22ffcf8a64
Author: Simon van der Linden <svdlinden src gnome org>
Date: Fri Aug 7 17:37:46 2009 +0200
Rename pygi_type_find_by_info to pygi_type_find_by_gi_info
gi/gimodule.c | 4 ++--
gi/pygi-argument.c | 6 +++---
gi/pygi-private.h | 2 +-
gi/pygi.h | 4 ++--
gobject/pygobject.c | 2 +-
5 files changed, 9 insertions(+), 9 deletions(-)
---
diff --git a/gi/gimodule.c b/gi/gimodule.c
index c8a0185..bccc62a 100644
--- a/gi/gimodule.c
+++ b/gi/gimodule.c
@@ -64,7 +64,7 @@ pygi_type_find_by_name (const char *namespace_,
}
PyObject *
-pygi_type_find_by_info (GIBaseInfo *info)
+pygi_type_find_by_gi_info (GIBaseInfo *info)
{
const char *namespace_;
const char *name;
@@ -129,7 +129,7 @@ static PyMethodDef _pygi_functions[] = {
};
struct PyGI_API PyGI_API = {
- pygi_type_find_by_info
+ pygi_type_find_by_gi_info
};
PyMODINIT_FUNC
diff --git a/gi/pygi-argument.c b/gi/pygi-argument.c
index 27db2bd..868b4ae 100644
--- a/gi/pygi-argument.c
+++ b/gi/pygi-argument.c
@@ -202,7 +202,7 @@ _pygi_g_registered_type_info_check_object (GIRegisteredTypeInfo *info,
PyObject *type;
gchar *type_name_expected = NULL;
- type = pygi_type_find_by_info((GIBaseInfo *)info);
+ type = pygi_type_find_by_gi_info((GIBaseInfo *)info);
if (type == NULL) {
return FALSE;
}
@@ -1351,7 +1351,7 @@ _pygi_argument_to_object (GArgument *arg,
}
/* Wrap the structure. */
- py_type = pygi_type_find_by_info(info);
+ py_type = pygi_type_find_by_gi_info(info);
if (py_type == NULL) {
Py_DECREF(buffer);
break;
@@ -1369,7 +1369,7 @@ _pygi_argument_to_object (GArgument *arg,
PyObject *py_type;
/* Make sure the class is initialized. */
- py_type = pygi_type_find_by_info(info);
+ py_type = pygi_type_find_by_gi_info(info);
if (py_type == NULL) {
break;
}
diff --git a/gi/pygi-private.h b/gi/pygi-private.h
index 53cf354..eabaef0 100644
--- a/gi/pygi-private.h
+++ b/gi/pygi-private.h
@@ -49,7 +49,7 @@ extern PyObject *PyGIRepositoryError;
PyObject* pygi_type_find_by_name (const char *namespace_,
const char *name);
-PyObject* pygi_type_find_by_info (GIBaseInfo *info);
+PyObject* pygi_type_find_by_gi_info (GIBaseInfo *info);
/* Private */
diff --git a/gi/pygi.h b/gi/pygi.h
index 23f0f0d..8cf4a4e 100644
--- a/gi/pygi.h
+++ b/gi/pygi.h
@@ -41,7 +41,7 @@ typedef struct {
struct PyGI_API {
- PyObject* (*type_find_by_info) (GIBaseInfo *info);
+ PyObject* (*type_find_by_gi_info) (GIBaseInfo *info);
};
@@ -49,7 +49,7 @@ struct PyGI_API {
struct PyGI_API *PyGI_API = NULL;
-#define pygi_type_find_by_info (PyGI_API->type_find_by_info)
+#define pygi_type_find_by_gi_info (PyGI_API->type_find_by_gi_info)
static int
pygi_import (void)
diff --git a/gobject/pygobject.c b/gobject/pygobject.c
index 3572f71..db8e2a3 100644
--- a/gobject/pygobject.c
+++ b/gobject/pygobject.c
@@ -972,7 +972,7 @@ pygobject_new_full(GObject *obj, gboolean sink, gpointer g_class)
if (info != NULL) {
pygi_import();
- tp = (PyTypeObject *)pygi_type_find_by_info(info);
+ tp = (PyTypeObject *)pygi_type_find_by_gi_info(info);
g_base_info_unref(info);
} else {
#endif
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]