diff options
author | Berke Viktor <berkeviktor@aol.com> | 2011-11-28 18:48:13 +0100 |
---|---|---|
committer | Berke Viktor <berkeviktor@aol.com> | 2011-11-28 18:48:13 +0100 |
commit | 986d0a19935112882cd77860af5b8d6e94f7585f (patch) | |
tree | 05308db75d54b008d27321e016499ff746a2ee48 /src/fe-gtk | |
parent | 9d1b4bbf9efca4f2e8a593cad7526a1a6850cc27 (diff) |
supposed fix for xtray, but not working correctly yet
Diffstat (limited to 'src/fe-gtk')
-rw-r--r-- | src/fe-gtk/fe-gtk.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/fe-gtk/fe-gtk.c b/src/fe-gtk/fe-gtk.c index 3f403f94..c11f5235 100644 --- a/src/fe-gtk/fe-gtk.c +++ b/src/fe-gtk/fe-gtk.c @@ -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 |