summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThibault Saunier <thibault.saunier@collabora.com>2011-12-22 14:41:39 +0100
committerThibault Saunier <thibault.saunier@collabora.com>2012-01-11 11:56:17 -0300
commit28904476f81d222f9032222cd3a994826ac9739c (patch)
tree86319be1b8e3a82437fce8a7e6ab548b81244718
parenta71b46e080b1381fbba521c84d317f472d10d1a7 (diff)
bindings: Register the various enums/flags in python
-rw-r--r--bindings/python/gesmodule.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/bindings/python/gesmodule.c b/bindings/python/gesmodule.c
index 3263d4ed..f7fc6339 100644
--- a/bindings/python/gesmodule.c
+++ b/bindings/python/gesmodule.c
@@ -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) */