diff options
author | TingPing <tingping@tingping.se> | 2012-11-19 23:02:53 -0500 |
---|---|---|
committer | TingPing <tingping@tingping.se> | 2012-11-19 23:02:53 -0500 |
commit | ecde599fd456adc83f42cc842ac87cbec94b7610 (patch) | |
tree | 30c00c803111d92ff0ba681e67cd52b724e501eb /src/fe-gtk/plugin-tray.c | |
parent | a7631810bdd00232b6039cb94ed9079b46eba144 (diff) |
add missing ifdef
Diffstat (limited to 'src/fe-gtk/plugin-tray.c')
-rw-r--r-- | src/fe-gtk/plugin-tray.c | 4 |
1 files 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); } |