comparison 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
comparison
equal deleted inserted replaced
26:3e8551a41944 27:73081cc299f5
21 * SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 21 * SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
22 */ 22 */
23 23
24 #include <gio/gdesktopappinfo.h> 24 #include <gio/gdesktopappinfo.h>
25 #include <glib/gi18n.h> 25 #include <glib/gi18n.h>
26 #ifndef HAVE_AYATANA_APPINDICATOR
26 #include <libappindicator/app-indicator.h> 27 #include <libappindicator/app-indicator.h>
28 #else /* !HAVE_AYATANA_APPINDICATOR */
29 #include <libayatana-appindicator/app-indicator.h>
30 #endif /* !HAVE_AYATANA_APPINDICATOR */
27 #include <stdlib.h> 31 #include <stdlib.h>
28 #include <string.h> 32 #include <string.h>
29 33
30 #include "pui-application.h" 34 #include "pui-application.h"
31 #include "pui-backend.h" 35 #include "pui-backend.h"