Re: [Qemu-devel] [PATCH 2/2] gtk: avoid gd_widget_reparent with gtk 3.14+

2014-10-23 Thread Daniel P. Berrange
On Thu, Oct 23, 2014 at 06:26:21PM +0200, Paolo Bonzini wrote: > > > On 10/23/2014 05:25 PM, Gerd Hoffmann wrote: > > gtk_widget_reparent is depricated in gtk 3.14. Unfortunaly the > > gtk_widget_{ref,unref} functions needed to to the same manually > > without having the widget destroyed while i

Re: [Qemu-devel] [PATCH 2/2] gtk: avoid gd_widget_reparent with gtk 3.14+

2014-10-23 Thread Paolo Bonzini
On 10/23/2014 05:25 PM, Gerd Hoffmann wrote: > gtk_widget_reparent is depricated in gtk 3.14. Unfortunaly the > gtk_widget_{ref,unref} functions needed to to the same manually > without having the widget destroyed while it has no parent are > pretty new. So there is no way around #ifdef'ing the

[Qemu-devel] [PATCH 2/2] gtk: avoid gd_widget_reparent with gtk 3.14+

2014-10-23 Thread Gerd Hoffmann
gtk_widget_reparent is depricated in gtk 3.14. Unfortunaly the gtk_widget_{ref,unref} functions needed to to the same manually without having the widget destroyed while it has no parent are pretty new. So there is no way around #ifdef'ing the code, otherwise it breaks with older gtk versions, Si