aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--bindings/python/ayatana_appindicator.override.in2
-rw-r--r--bindings/python/ayatana_appindicatormodule.c1
2 files changed, 2 insertions, 1 deletions
diff --git a/bindings/python/ayatana_appindicator.override.in b/bindings/python/ayatana_appindicator.override.in
index 3fdeb24..37a25c0 100644
--- a/bindings/python/ayatana_appindicator.override.in
+++ b/bindings/python/ayatana_appindicator.override.in
@@ -40,7 +40,7 @@ typedef PyObject* (*to_pyobject_func) (gpointer data);
#define APP_TYPE_INDICATOR APP_INDICATOR_TYPE
void
-_appindicator_add_constants(PyObject *module, const gchar *strip_prefix)
+_ayatana_appindicator_add_constants(PyObject *module, const gchar *strip_prefix)
{
#ifdef VERSION
PyModule_AddStringConstant(module, "__version__", VERSION);
diff --git a/bindings/python/ayatana_appindicatormodule.c b/bindings/python/ayatana_appindicatormodule.c
index 4f1f906..4f6584d 100644
--- a/bindings/python/ayatana_appindicatormodule.c
+++ b/bindings/python/ayatana_appindicatormodule.c
@@ -31,6 +31,7 @@ License version 3 and version 2.1 along with this program. If not, see
void pyayatana_appindicator_register_classes (PyObject *d);
extern PyMethodDef pyayatana_appindicator_functions[];
+void _ayatana_appindicator_add_constants(PyObject *m, const gchar *s);
DL_EXPORT(void)
init_ayatana_appindicator(void)