From 5c88d8b18bb7e7ab90481af525aa2fd20cd0a85b Mon Sep 17 00:00:00 2001 From: Johan Dahlin Date: Fri, 5 Oct 2001 19:13:53 +0000 Subject: *** empty log message *** --- gobject/gobjectmodule.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gobject/gobjectmodule.c b/gobject/gobjectmodule.c index ee76f47d..fa3077f1 100644 --- a/gobject/gobjectmodule.c +++ b/gobject/gobjectmodule.c @@ -970,7 +970,7 @@ pyg_closure_new(PyObject *callback, PyObject *extra_args, PyObject *swap_data) if (!PyTuple_Check(extra_args)) { PyObject *tmp = PyTuple_New(1); PySequence_SetItem(tmp, 0, extra_args); - extra_args = Py_BuildValue(tmp); + extra_args = Py_BuildValue("(O)", tmp); } else { Py_INCREF(extra_args); } -- cgit v1.2.1