summaryrefslogtreecommitdiffstats
path: root/gobject/gobjectmodule.c
diff options
context:
space:
mode:
authorJohan Dahlin <johan@src.gnome.org>2004-07-20 11:05:41 +0000
committerJohan Dahlin <johan@src.gnome.org>2004-07-20 11:05:41 +0000
commitd2c71ff53b42afec6bf4ebca3bcf801dce5cfbb2 (patch)
tree8e24537a5847c6c93a0ef7ae12b8cdb2076e1839 /gobject/gobjectmodule.c
parent7a068035003772b1c393c072377ebc8acfb875ae (diff)
downloadpygobject-d2c71ff53b42afec6bf4ebca3bcf801dce5cfbb2.tar.gz
pygobject-d2c71ff53b42afec6bf4ebca3bcf801dce5cfbb2.tar.xz
pygobject-d2c71ff53b42afec6bf4ebca3bcf801dce5cfbb2.zip
Simplify, fix name in exceptions and remove warning.
* gtk/gtk.override (_wrap_gtk_file_chooser_dialog_new): Simplify, fix name in exceptions and remove warning. * gobject/pygenum.c (pyg_enum_from_gtype): Fall back to int for unregistered enums. * gobject/pygflags.c (pyg_flags_from_gtype): Ditto * gobject/gobjectmodule.c (initgobject): Rename back to MainLoop, MainContext
Diffstat (limited to 'gobject/gobjectmodule.c')
-rw-r--r--gobject/gobjectmodule.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gobject/gobjectmodule.c b/gobject/gobjectmodule.c
index 9de16a5..6027254 100644
--- a/gobject/gobjectmodule.c
+++ b/gobject/gobjectmodule.c
@@ -1843,8 +1843,8 @@ initgobject(void)
PyGFlags_Type.tp_base = &PyInt_Type;
REGISTER_GTYPE(d, PyGFlags_Type, "GFlags", G_TYPE_FLAGS);
- REGISTER_TYPE(d, PyGMainLoop_Type, "GMainLoop");
- REGISTER_TYPE(d, PyGMainContext_Type, "GMainContext");
+ REGISTER_TYPE(d, PyGMainLoop_Type, "MainLoop");
+ REGISTER_TYPE(d, PyGMainContext_Type, "MainContext");
/* glib version */
tuple = Py_BuildValue ("(iii)", glib_major_version, glib_minor_version,