From ecde599fd456adc83f42cc842ac87cbec94b7610 Mon Sep 17 00:00:00 2001 From: TingPing Date: Mon, 19 Nov 2012 23:02:53 -0500 Subject: [PATCH] add missing ifdef --- src/fe-gtk/plugin-tray.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/fe-gtk/plugin-tray.c b/src/fe-gtk/plugin-tray.c index a5623b3f..94510e4d 100644 --- a/src/fe-gtk/plugin-tray.c +++ b/src/fe-gtk/plugin-tray.c @@ -60,8 +60,10 @@ typedef GdkPixbuf* TrayIcon; static GtkStatusIcon *sticon; static gint flash_tag; static TrayStatus tray_status; +#ifdef WIN32 static guint tray_menu_timer; static gint64 tray_menu_inactivetime; +#endif static hexchat_plugin *ph; static TrayIcon custom_icon1; @@ -586,8 +588,6 @@ tray_menu_cb (GtkWidget *widget, guint button, guint time, gpointer userdata) tray_menu_timer = g_timeout_add(500, (GSourceFunc) tray_check_hide, menu); #endif - - gtk_menu_popup (GTK_MENU (menu), NULL, NULL, gtk_status_icon_position_menu, userdata, button, time); }