From 75d54e25e9375fc244017b4548858656edfb55bb Mon Sep 17 00:00:00 2001 From: deepend Date: Thu, 5 Feb 2026 15:33:59 -0700 Subject: [PATCH] Made tray_menu_destroy available in GTK3 builds to avoid implicit declaration errors during tray menu cleanup callbacks. --- src/fe-gtk/plugin-tray.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/fe-gtk/plugin-tray.c b/src/fe-gtk/plugin-tray.c index 9bce68e0..9aa7104e 100644 --- a/src/fe-gtk/plugin-tray.c +++ b/src/fe-gtk/plugin-tray.c @@ -989,7 +989,6 @@ blink_item (unsigned int *setting, GtkWidget *menu, char *label) } #endif -#if !HAVE_GTK3 || defined(WIN32) static void tray_menu_destroy (GtkWidget *menu, gpointer userdata) { @@ -1033,7 +1032,6 @@ tray_check_hide (GtkWidget *menu) return G_SOURCE_CONTINUE; } #endif -#endif static void tray_menu_settings (GtkWidget * wid, gpointer none)