From b69db173aa177bf13a4e3a2caec87ca8810baee4 Mon Sep 17 00:00:00 2001 From: Johan Dahlin Date: Sat, 2 Aug 2008 08:29:37 +0000 Subject: Fix compilation warnings, clean up style and indentation. 2008-08-02 Johan Dahlin * glib/glibmodule.c (pyglib_set_prgname): * glib/pygoptioncontext.c (pyg_option_context_init), (pyg_option_context_set_help_enabled), (pyg_option_context_set_ignore_unknown_options), (pyg_option_context_set_main_group), (pyg_option_context_add_group): * glib/pygoptiongroup.c (arg_func), (pyg_option_group_add_entries), (pyg_option_group_set_translation_domain), (pyg_option_group_compare), (pyglib_option_group_register_types): Fix compilation warnings, clean up style and indentation. svn path=/trunk/; revision=913 --- glib/glibmodule.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'glib/glibmodule.c') diff --git a/glib/glibmodule.c b/glib/glibmodule.c index 446be87..4d5aa42 100644 --- a/glib/glibmodule.c +++ b/glib/glibmodule.c @@ -516,7 +516,7 @@ pyglib_set_prgname(PyObject *self, PyObject *arg) { if (!PyString_Check(arg)) { PyErr_Format(PyExc_TypeError, - "first argument must be a string, not %r", + "first argument must be a string, not '%s'", PyString_AS_STRING(PyObject_Repr(arg))); return NULL; } -- cgit