diff options
| author | Johan Dahlin <johan@gnome.org> | 2008-07-17 09:59:17 +0000 |
|---|---|---|
| committer | Johan Dahlin <johan@src.gnome.org> | 2008-07-17 09:59:17 +0000 |
| commit | fd7aa13d3d05e530b9a03b6bb9d7c3e1cc77b51b (patch) | |
| tree | 9028766aec0ab2d09ed84fb0ffeaf113d29cc95b /gio | |
| parent | fefcb864e35f595f82b6053a7a5857860eecbe69 (diff) | |
Add gio.ERROR which maps to the G_IO_ERROR quark.
2008-07-17 Johan Dahlin <johan@gnome.org>
* gio/giomodule.c (init_gio):
Add gio.ERROR which maps to the G_IO_ERROR quark.
svn path=/trunk/; revision=818
Diffstat (limited to 'gio')
| -rw-r--r-- | gio/giomodule.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gio/giomodule.c b/gio/giomodule.c index 7a24744..e7c852c 100644 --- a/gio/giomodule.c +++ b/gio/giomodule.c @@ -49,5 +49,7 @@ init_gio(void) pygio_register_classes(d); pygio_add_constants(m, "G_IO_"); + PyModule_AddStringConstant(m, "ERROR", g_quark_to_string(G_IO_ERROR)); + } |
