bindings: Register the various enums/flags in python
authorThibault Saunier <thibault.saunier@collabora.com>
Thu, 22 Dec 2011 13:41:39 +0000 (14:41 +0100)
committerThibault Saunier <thibault.saunier@collabora.com>
Wed, 11 Jan 2012 14:56:17 +0000 (11:56 -0300)
bindings/python/gesmodule.c

index 3263d4e..f7fc633 100644 (file)
@@ -11,6 +11,7 @@
 
 void pyges_register_classes (PyObject * d);
 extern PyMethodDef pyges_functions[];
+void pyges_add_constants (PyObject * module, const gchar * strip_prefix);
 DL_EXPORT (void)
 initges (void);
 
@@ -29,6 +30,7 @@ initges (void)
 
   pygst_init ();
   pyges_register_classes (d);
+  pyges_add_constants (m, "GES_");
 
   /* add anything else to the module dictionary (such as constants) */