aboutsummaryrefslogtreecommitdiff
path: root/bindings
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2017-10-24 16:40:20 +0200
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2017-10-24 16:40:20 +0200
commitd89dee1bc480580faddedf5aada070a3feb8614c (patch)
tree2a1abed9ae49fdc5c2f7fbe511ca7561058d661b /bindings
parent024cc53beb993d356328c2fc2aa778a31593b968 (diff)
downloadlibayatana-appindicator-d89dee1bc480580faddedf5aada070a3feb8614c.tar.gz
libayatana-appindicator-d89dee1bc480580faddedf5aada070a3feb8614c.tar.bz2
libayatana-appindicator-d89dee1bc480580faddedf5aada070a3feb8614c.zip
python2 bindings: Finally avoid implicit declaration for (_ayatana)_appindicator_add_constants() function symbol.
Diffstat (limited to 'bindings')
-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)