pygobject r818 - in trunk: . gio



Author: johan
Date: Thu Jul 17 09:59:17 2008
New Revision: 818
URL: http://svn.gnome.org/viewvc/pygobject?rev=818&view=rev

Log:
2008-07-17  Johan Dahlin  <johan gnome org>

        * gio/giomodule.c (init_gio):
        Add gio.ERROR which maps to the G_IO_ERROR quark.



Modified:
   trunk/ChangeLog
   trunk/gio/giomodule.c

Modified: trunk/gio/giomodule.c
==============================================================================
--- trunk/gio/giomodule.c	(original)
+++ trunk/gio/giomodule.c	Thu Jul 17 09:59:17 2008
@@ -49,5 +49,7 @@
     pygio_register_classes(d);
     pygio_add_constants(m, "G_IO_");
 
+    PyModule_AddStringConstant(m, "ERROR", g_quark_to_string(G_IO_ERROR));
+    
 }
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]