]> Pileus Git - ~andy/gtk/commit
Bug 668239 - texts disappear when notebook switch page at zh_CN locate
authorChun-wei Fan <fanchunwei@src.gnome.org>
Mon, 26 Nov 2012 04:57:05 +0000 (12:57 +0800)
committerChun-wei Fan <fanchunwei@src.gnome.org>
Thu, 13 Dec 2012 03:03:56 +0000 (11:03 +0800)
commit656ec39c295750b18cb299acd258d9f62801bc16
tree106c7d5eff2c308fb1434874d7b207b44e9d93dc
parent0cb714fe62c6d2a21f578a53f316a94a777dd602
Bug 668239 - texts disappear when notebook switch page at zh_CN locate

In gtkimcontextime.c, use gdk_win32_window_get_impl_hwnd() to get to
the impl's existing native window instead of GDK_WINDOW_HWND() which
implicitly ensures a native window for the widget itself. This seems
to work around whatever GDK problem with native subwindows and fixes
the bug.

This is based on Michael Natterer's fix for gtk-2-24.
modules/input/gtkimcontextime.c