]> Pileus Git - ~andy/gtk/commit
gtkimcontexttime.c: Check context_ime->client_window is not NULL
authorChun-wei Fan <fanchunwei@src.gnome.org>
Wed, 29 Aug 2012 06:03:46 +0000 (14:03 +0800)
committerMatthias Clasen <mclasen@redhat.com>
Mon, 3 Sep 2012 20:03:58 +0000 (16:03 -0400)
commita866ed737810ea32ec55260ad512f386a4e6df5d
treec3c2798f9b3b6359bba0698b303d3077674f2acd
parentd05191a010bcd9871b0155a785989192967c692b
gtkimcontexttime.c: Check context_ime->client_window is not NULL

Be a bit more careful in get_pango_attr_list() and
get_utf8_preedit_string() to ensure that the client_window is properly
created before proceeding, to avoid access violation/segfault crashes on
Windows with IME installed, especially when running the pickers demo.

https://bugzilla.gnome.org/show_bug.cgi?id=682919
modules/input/gtkimcontextime.c