diff pui-application.c @ 27:73081cc299f5

Fix support for libayatana-appindicator Fix the library name and use the correct headers.
author Guido Berhoerster <guido+pui@berhoerster.name>
date Wed, 24 Jul 2019 16:25:24 +0200
parents 6304dbbedb67
children 811df672633d
line wrap: on
line diff
--- a/pui-application.c	Wed Jul 24 15:13:07 2019 +0200
+++ b/pui-application.c	Wed Jul 24 16:25:24 2019 +0200
@@ -23,7 +23,11 @@
 
 #include <gio/gdesktopappinfo.h>
 #include <glib/gi18n.h>
+#ifndef	HAVE_AYATANA_APPINDICATOR
 #include <libappindicator/app-indicator.h>
+#else /* !HAVE_AYATANA_APPINDICATOR */
+#include <libayatana-appindicator/app-indicator.h>
+#endif /* !HAVE_AYATANA_APPINDICATOR */
 #include <stdlib.h>
 #include <string.h>