Skip to content

Commit

Permalink
Bug fixes
Browse files Browse the repository at this point in the history
	* Bug fixes
  • Loading branch information
John Finlay committed May 22, 2005
1 parent 4b01307 commit 44bc10c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions gobject/gobjectmodule.c
Expand Up @@ -2091,13 +2091,13 @@ pyg_markup_escape_text(PyObject *unused, PyObject *args, PyObject *kwargs)
int text_size;
PyObject *retval;

if (!PyArg_ParseTupleAndKeywords(args, kwargs, "s:gobject.markup_escape_text", kwlist,
if (!PyArg_ParseTupleAndKeywords(args, kwargs, "s#:gobject.markup_escape_text", kwlist,
&text_in, &text_size))
return NULL;

text_out = g_markup_escape_text(text_in, text_size);
retval = PyString_FromString(text_out);
g_free(retval);
g_free(text_out);
return retval;
}

Expand Down

0 comments on commit 44bc10c

Please sign in to comment.