summary refs log tree commit diff stats
path: root/src/fe-gtk/plugin-tray.c
diff options
context:
space:
mode:
authorBerke Viktor <bviktor@hexchat.org>2012-10-30 21:25:58 +0100
committerBerke Viktor <bviktor@hexchat.org>2012-10-30 21:25:58 +0100
commitcb0f6c8c91b564e541688b3f0f57d8456295dc1f (patch)
tree0ac1427e1d3a18ae152bd1d34f424c6db7759479 /src/fe-gtk/plugin-tray.c
parent284dbfbe3dc37e94b57e110b6ea23f847b9f6035 (diff)
Eliminate some more warnings
Diffstat (limited to 'src/fe-gtk/plugin-tray.c')
-rw-r--r--src/fe-gtk/plugin-tray.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fe-gtk/plugin-tray.c b/src/fe-gtk/plugin-tray.c
index 09e6fdb1..b9113804 100644
--- a/src/fe-gtk/plugin-tray.c
+++ b/src/fe-gtk/plugin-tray.c
@@ -376,7 +376,7 @@ tray_toggle_visibility (gboolean force_hide)
 	/* ph may have an invalid context now */
 	hexchat_set_context (ph, hexchat_find_context (ph, NULL, NULL));
 
-	win = hexchat_get_info (ph, "gtkwin_ptr");
+	win = GTK_WINDOW (hexchat_get_info (ph, "gtkwin_ptr"));
 
 	tray_stop_flash ();
 	tray_reset_counts ();