From d89dee1bc480580faddedf5aada070a3feb8614c Mon Sep 17 00:00:00 2001 From: Mike Gabriel Date: Tue, 24 Oct 2017 16:40:20 +0200 Subject: python2 bindings: Finally avoid implicit declaration for (_ayatana)_appindicator_add_constants() function symbol. --- bindings/python/ayatana_appindicator.override.in | 2 +- bindings/python/ayatana_appindicatormodule.c | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) 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) -- cgit v1.2.3