1
0
mirror of https://github.com/moparisthebest/hexchat synced 2024-12-23 08:08:54 -05:00

supposed fix for xtray, but not working correctly yet

This commit is contained in:
Berke Viktor 2011-11-28 18:48:13 +01:00
parent 9d1b4bbf9e
commit 986d0a1993

View File

@ -926,7 +926,11 @@ fe_gui_info_ptr (session *sess, int info_type)
{
case 0: /* native window pointer (for plugins) */
#ifdef WIN32
#if GTK_CHECK_VERSION(2,24,8)
return gdk_win32_window_get_impl_hwnd (sess->gui->window->window);
#else
return GDK_WINDOW_HWND (sess->gui->window->window);
#endif
#else
return sess->gui->window;
#endif