diff options
author | Berke Viktor <bviktor@hexchat.org> | 2012-07-21 14:26:19 +0200 |
---|---|---|
committer | Berke Viktor <bviktor@hexchat.org> | 2012-07-21 14:26:19 +0200 |
commit | e7f723539d39f20092aabfb5b51826807e016fe3 (patch) | |
tree | 88c887012ba3fbf1b9b9c1208453a98568cbad3b /src/fe-gtk/plugin-tray.c | |
parent | 4cae471af3a4d8e9c7457f76186da809879f566f (diff) |
Some aid for compiler warnings
Diffstat (limited to 'src/fe-gtk/plugin-tray.c')
-rw-r--r-- | src/fe-gtk/plugin-tray.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/fe-gtk/plugin-tray.c b/src/fe-gtk/plugin-tray.c index 13eacacf..2d8b79c0 100644 --- a/src/fe-gtk/plugin-tray.c +++ b/src/fe-gtk/plugin-tray.c @@ -8,6 +8,7 @@ #include "../common/server.h" #include "../common/fe.h" #include "../common/util.h" +#include "../common/outbound.h" #include "fe-gtk.h" #include "pixmaps.h" #include "maingui.h" @@ -497,9 +498,11 @@ static void tray_menu_cb (GtkWidget *widget, guint button, guint time, gpointer userdata) { GtkWidget *menu; +#ifndef WIN32 GtkWidget *submenu; GtkWidget *item; int away_status; +#endif /* ph may have an invalid context now */ xchat_set_context (ph, xchat_find_context (ph, NULL, NULL)); |