summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog7
-rw-r--r--gio/gio.override6
2 files changed, 11 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 309cfab..ccdfccc 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2008-08-06 Paul Pogonyshev <pogonyshev@gmx.net>
+
+ * gio/gio.override: Add 'pygio_do_icon_richcompare' prototype to
+ header.
+ (_wrap_g_file_icon_tp_repr, _wrap_g_themed_icon_tp_repr): Fix
+ return value type in signature.
+
2008-08-05 Paul Pogonyshev <pogonyshev@gmx.net>
Bug 546135 – GIcon and implementations improvements
diff --git a/gio/gio.override b/gio/gio.override
index 6bde819..32a8a5f 100644
--- a/gio/gio.override
+++ b/gio/gio.override
@@ -38,6 +38,8 @@ typedef struct {
PyObject *data;
} PyGIONotify;
+static PyObject * pygio_do_icon_richcompare(PyGObject *self, PyGObject *other, int op);
+
static void
py_decref_callback (gpointer data)
{
@@ -239,7 +241,7 @@ _wrap_g_file_icon_tp_hash(PyGObject *self)
}
%%
override-slot GFileIcon.tp_repr
-static int
+static PyObject *
_wrap_g_file_icon_tp_repr(PyGObject *self)
{
GFile *file = g_file_icon_get_file(G_FILE_ICON(self->obj));
@@ -297,7 +299,7 @@ _wrap_g_themed_icon_tp_hash(PyGObject *self)
}
%%
override-slot GThemedIcon.tp_repr
-static int
+static PyObject *
_wrap_g_themed_icon_tp_repr(PyGObject *self)
{
const char * const *names = g_themed_icon_get_names(G_THEMED_ICON(self->obj));