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
1 changed files with 4 additions and 0 deletions

View File

@ -926,7 +926,11 @@ fe_gui_info_ptr (session *sess, int info_type)
{ {
case 0: /* native window pointer (for plugins) */ case 0: /* native window pointer (for plugins) */
#ifdef WIN32 #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); return GDK_WINDOW_HWND (sess->gui->window->window);
#endif
#else #else
return sess->gui->window; return sess->gui->window;
#endif #endif