From fdaa13c65045e61aed1deb3f90adea191131bc77 Mon Sep 17 00:00:00 2001 From: Zajcev Evgeny Date: Mon, 12 Aug 2024 12:08:02 +0300 Subject: [PATCH] Do not use IS_APP_INDICATOR in telega-appindicator.c On some systems use of IS_APP_INDICATOR causes problems with ayatana Fixes #481 --- server/telega-appindicator.c | 2 +- server/telega-server.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/server/telega-appindicator.c b/server/telega-appindicator.c index 4602306d..65778011 100644 --- a/server/telega-appindicator.c +++ b/server/telega-appindicator.c @@ -60,7 +60,7 @@ appindicator_setup(char* icon_path) if (!appind) { appind = app_indicator_new("telega", icon_path, APP_INDICATOR_CATEGORY_COMMUNICATIONS); - g_assert(IS_APP_INDICATOR(appind)); + g_assert(appind != NULL); app_indicator_set_status(appind, APP_INDICATOR_STATUS_ACTIVE); diff --git a/server/telega-server.c b/server/telega-server.c index bfc707c4..bd90d007 100644 --- a/server/telega-server.c +++ b/server/telega-server.c @@ -73,7 +73,7 @@ void pngext_main(int ac, char** av); char* logfile = NULL; size_t logfile_size = 4 * 1024 * 1024; int verbosity = 5; -const char* version = "0.8.2"; +const char* version = "0.8.3"; /* true when stdin_loop() is running */ volatile bool server_running;