Skip to content

Commit

Permalink
Do not use IS_APP_INDICATOR in telega-appindicator.c
Browse files Browse the repository at this point in the history
On some systems use of IS_APP_INDICATOR causes problems with ayatana

Fixes #481
  • Loading branch information
zevlg committed Aug 12, 2024
1 parent 64d2a3e commit fdaa13c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion server/telega-appindicator.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down
2 changes: 1 addition & 1 deletion server/telega-server.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit fdaa13c

Please sign in to comment.