add missing ifdef

This commit is contained in:
TingPing 2012-11-19 23:02:53 -05:00
parent a7631810bd
commit ecde599fd4
1 changed files with 2 additions and 2 deletions

View File

@ -60,8 +60,10 @@ typedef GdkPixbuf* TrayIcon;
static GtkStatusIcon *sticon; static GtkStatusIcon *sticon;
static gint flash_tag; static gint flash_tag;
static TrayStatus tray_status; static TrayStatus tray_status;
#ifdef WIN32
static guint tray_menu_timer; static guint tray_menu_timer;
static gint64 tray_menu_inactivetime; static gint64 tray_menu_inactivetime;
#endif
static hexchat_plugin *ph; static hexchat_plugin *ph;
static TrayIcon custom_icon1; 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); tray_menu_timer = g_timeout_add(500, (GSourceFunc) tray_check_hide, menu);
#endif #endif
gtk_menu_popup (GTK_MENU (menu), NULL, NULL, gtk_status_icon_position_menu, gtk_menu_popup (GTK_MENU (menu), NULL, NULL, gtk_status_icon_position_menu,
userdata, button, time); userdata, button, time);
} }