Re: [Spice-devel] [PATCH spice-gtk v5 6/6] usb-device-widget: Migrate to GtkGrid from GtkBox

2017-02-20 Thread Pavel Grunt
Hi Daniel, On Mon, 2017-02-20 at 13:04 +, Daniel P. Berrange wrote: > On Mon, Feb 20, 2017 at 12:44:52PM +0100, Victor Toso wrote: > > Hi, > > > > On Fri, Feb 17, 2017 at 11:24:55AM +0100, Pavel Grunt wrote: > > > GtkVBox is deprecated since Gtk 3.2, GtkBox is going to be > > > deprecated.

Re: [Spice-devel] [PATCH spice-gtk v5 6/6] usb-device-widget: Migrate to GtkGrid from GtkBox

2017-02-20 Thread Daniel P. Berrange
On Mon, Feb 20, 2017 at 12:44:52PM +0100, Victor Toso wrote: > Hi, > > On Fri, Feb 17, 2017 at 11:24:55AM +0100, Pavel Grunt wrote: > > GtkVBox is deprecated since Gtk 3.2, GtkBox is going to be > > deprecated. Just use the GtkGrid and GtkContainer api. > > Sure > > > --- > > GtkContainer is an

Re: [Spice-devel] [PATCH spice-gtk v5 6/6] usb-device-widget: Migrate to GtkGrid from GtkBox

2017-02-20 Thread Pavel Grunt
Hi, On Mon, 2017-02-20 at 12:44 +0100, Victor Toso wrote: > Hi, > > On Fri, Feb 17, 2017 at 11:24:55AM +0100, Pavel Grunt wrote: > > GtkVBox is deprecated since Gtk 3.2, GtkBox is going to be > > deprecated. Just use the GtkGrid and GtkContainer api. > > Sure > > > --- > > GtkContainer is an

Re: [Spice-devel] [PATCH spice-gtk v5 6/6] usb-device-widget: Migrate to GtkGrid from GtkBox

2017-02-20 Thread Victor Toso
Hi, On Fri, Feb 17, 2017 at 11:24:55AM +0100, Pavel Grunt wrote: > GtkVBox is deprecated since Gtk 3.2, GtkBox is going to be > deprecated. Just use the GtkGrid and GtkContainer api. Sure > --- > GtkContainer is an abstract class, so let's use the Grid with the > vertical orientation At first

[Spice-devel] [PATCH spice-gtk v5 6/6] usb-device-widget: Migrate to GtkGrid from GtkBox

2017-02-17 Thread Pavel Grunt
GtkVBox is deprecated since Gtk 3.2, GtkBox is going to be deprecated. Just use the GtkGrid and GtkContainer api. --- GtkContainer is an abstract class, so let's use the Grid with the vertical orientation --- src/usb-device-widget.c | 25 ++--- 1 file changed, 14