summaryrefslogtreecommitdiffstats
path: root/gio
diff options
context:
space:
mode:
authorDavid Malcolm <dmalcolm@redhat.com>2010-04-16 12:57:15 -0400
committerDavid Malcolm <dmalcolm@redhat.com>2010-04-16 13:02:42 -0400
commit15c3b04f4257fef54ca5f7ab60012b4936d672a3 (patch)
tree7681289908d6b6c4cca916fee6d61d2c2f649909 /gio
parentcecafa7e4809c8c2bfa77446beea8beb3a51d8dc (diff)
downloadpygobject-15c3b04f4257fef54ca5f7ab60012b4936d672a3.tar.gz
pygobject-15c3b04f4257fef54ca5f7ab60012b4936d672a3.tar.xz
pygobject-15c3b04f4257fef54ca5f7ab60012b4936d672a3.zip
Fix various selftests when building against python 3.1
Diffstat (limited to 'gio')
-rw-r--r--gio/gio.override4
1 files changed, 2 insertions, 2 deletions
diff --git a/gio/gio.override b/gio/gio.override
index 86c7f33..c9a40fd 100644
--- a/gio/gio.override
+++ b/gio/gio.override
@@ -330,12 +330,12 @@ _wrap_g_content_type_guess(PyGObject *self, PyObject *args, PyObject *kwargs)
{
char *kwlist[] = {"filename", "data", "want_uncertain", NULL};
char *filename = NULL, *data = NULL, *type;
- int data_size = 0;
+ Py_ssize_t data_size = 0;
gboolean result_uncertain, want_uncertain = FALSE;
PyObject *ret;
if (!PyArg_ParseTupleAndKeywords (args, kwargs,
- "|zz#i:g_content_type_guess",
+ "|zz#i:content_type_guess",
kwlist,
&filename, &data, &data_size,
&want_uncertain))