]> granicus.if.org Git - handbrake/commit
LinGui: fix possible live preview failure with gtk 2.18
authorjstebbins <jstebbins.hb@gmail.com>
Wed, 21 Apr 2010 18:40:13 +0000 (18:40 +0000)
committerjstebbins <jstebbins.hb@gmail.com>
Wed, 21 Apr 2010 18:40:13 +0000 (18:40 +0000)
commitd14d10a3d6e714dc312fd2d629d352b423623f7d
treebac03ba38d1b996e9619ccd4629725d1f766b497
parent25b0459d8baee62caa2fa28fe7560b5d870a0699
LinGui: fix possible live preview failure with gtk 2.18
according to the doc's you must call gdk_window_ensure_native() before
getting the X11 XID for the window.  this is the only way to guarantee
that the window is native and has an XID.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3249 b64f7644-9d1e-0410-96f1-a4d463321fa5
gtk/src/preview.c