diff options
author | Johan Dahlin <johan@gnome.org> | 2008-08-02 08:29:37 +0000 |
---|---|---|
committer | Johan Dahlin <johan@src.gnome.org> | 2008-08-02 08:29:37 +0000 |
commit | b69db173aa177bf13a4e3a2caec87ca8810baee4 (patch) | |
tree | 9b9d6cfa13f9a6d88c473a4d573a6b5c74af150a /glib/glibmodule.c | |
parent | c5dc87ea088613158d527f5b1b1cd947db8d12b8 (diff) | |
download | pygobject-b69db173aa177bf13a4e3a2caec87ca8810baee4.tar.gz pygobject-b69db173aa177bf13a4e3a2caec87ca8810baee4.tar.xz pygobject-b69db173aa177bf13a4e3a2caec87ca8810baee4.zip |
Fix compilation warnings, clean up style and indentation.
2008-08-02 Johan Dahlin <johan@gnome.org>
* 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
Diffstat (limited to 'glib/glibmodule.c')
-rw-r--r-- | glib/glibmodule.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; } |