From a53ac4479b639d0801c3909e24dfc5edc2041b59 Mon Sep 17 00:00:00 2001 From: deepend-tildeclub <58404188+deepend-tildeclub@users.noreply.github.com> Date: Thu, 5 Feb 2026 14:55:37 -0700 Subject: [PATCH] Modify GTK3 status icon definitions for Windows Updated conditional compilation for GTK3 on Windows to exclude appindicator backend. --- src/fe-gtk/plugin-tray.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/fe-gtk/plugin-tray.c b/src/fe-gtk/plugin-tray.c index 5cba239f..ccee5e8f 100644 --- a/src/fe-gtk/plugin-tray.c +++ b/src/fe-gtk/plugin-tray.c @@ -111,7 +111,7 @@ typedef GdkPixbuf* TrayCustomIcon; #define ICON_HILIGHT pix_tray_highlight #define ICON_FILE pix_tray_fileoffer #endif -#if HAVE_GTK3 && defined(WIN32) && defined(GTK_DISABLE_DEPRECATED) +#if HAVE_GTK3 && defined(WIN32) && defined(GTK_DISABLE_DEPRECATED) && !HAVE_APPINDICATOR_BACKEND GtkStatusIcon *gtk_status_icon_new_from_pixbuf (GdkPixbuf *pixbuf); void gtk_status_icon_set_from_pixbuf (GtkStatusIcon *status_icon, GdkPixbuf *pixbuf); void gtk_status_icon_set_tooltip_text (GtkStatusIcon *status_icon, const gchar *text);