gtk2: Use gtk_widget_get_window instead of accessing the struct.
authorNeal H. Walfield <neal@gnu.org>
Sun, 26 Jul 2015 18:04:47 +0000 (20:04 +0200)
committerNeal H. Walfield <neal@gnu.org>
Sun, 26 Jul 2015 18:04:47 +0000 (20:04 +0200)
commitd70a106d71dbcaf90e2246ed8e72c14d9c2cf266
tree325460a95467dc70dfaff33c8e70747d1e053191
parentc9c3576b5e2e3139fd9f6af3426b5f5e727deadd
gtk2: Use gtk_widget_get_window instead of accessing the struct.

* gtk+-2/pinentry-gtk-2.c (make_transient): Don't directly access the
window field of WIN.  Use gtk_widget_get_window instead.
(grab_keyboard): Likewise.
(ungrab_keyboard): Likewise.

Patch-by: Dimitri John Ledkov <dimitri.j.ledkov@intel.com>.
gtk+-2/pinentry-gtk-2.c