pygobject r925 - in trunk: . gio
- From: paulp svn gnome org
- To: svn-commits-list gnome org
- Subject: pygobject r925 - in trunk: . gio
- Date: Tue, 5 Aug 2008 21:53:20 +0000 (UTC)
Author: paulp
Date: Tue Aug 5 21:53:20 2008
New Revision: 925
URL: http://svn.gnome.org/viewvc/pygobject?rev=925&view=rev
Log:
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.
Modified:
trunk/ChangeLog
trunk/gio/gio.override
Modified: trunk/gio/gio.override
==============================================================================
--- trunk/gio/gio.override (original)
+++ trunk/gio/gio.override Tue Aug 5 21:53:20 2008
@@ -38,6 +38,8 @@
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 @@
}
%%
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 @@
}
%%
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));
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]