]> Pileus Git - ~andy/gtk/commit
GtkIMContextSimple: avoid gdk_window_get_user_data
authorRyan Lortie <desrt@desrt.ca>
Wed, 20 Oct 2010 21:58:20 +0000 (23:58 +0200)
committerRyan Lortie <desrt@desrt.ca>
Wed, 20 Oct 2010 21:58:20 +0000 (23:58 +0200)
commit56d2590b493ec3d010246d805628f76c216803a1
treef26fb64e90fbe85933debd04080902cc45152dae
parent3fcec464ac59b39d3aef7185611cfed90a43332f
GtkIMContextSimple: avoid gdk_window_get_user_data

We lookup a widget to call a function on GtkWidget that ends up just
performing an operation directly on the GdkWindow again anyway
(beeping).  There's already fallback code at the point of the call that
does exactly that anyway, so just do that all of the time.
gtk/gtkimcontextsimple.c