[Spice-devel] [PATCH spice-gtk v2 1/2] usb-device-widget: Fix parent class type

Frediano Ziglio fziglio at redhat.com
Mon Jun 26 10:36:25 UTC 2017


> 
> The widget is defined as GTK_TYPE_BOX, use GtkBox instead of GtkVBox.

Acked

Really, no binary changes:

$ strip src/.libs/usb-device-widget.o && md5sum src/.libs/usb-device-widget.o
071e9dfca20beb638cbc558b8051850d  src/.libs/usb-device-widget.o
$ git checkout -- src/usb-device-widget.c
$ make -j4 &>/dev/null 
$ strip src/.libs/usb-device-widget.o && md5sum src/.libs/usb-device-widget.o
071e9dfca20beb638cbc558b8051850d  src/.libs/usb-device-widget.o

> ---
>  src/usb-device-widget.c | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/src/usb-device-widget.c b/src/usb-device-widget.c
> index b394499..747887c 100644
> --- a/src/usb-device-widget.c
> +++ b/src/usb-device-widget.c
> @@ -40,14 +40,14 @@
>  
>  struct _SpiceUsbDeviceWidget
>  {
> -    GtkVBox parent;
> +    GtkBox parent;
>  
>      SpiceUsbDeviceWidgetPrivate *priv;
>  };
>  
>  struct _SpiceUsbDeviceWidgetClass
>  {
> -    GtkVBoxClass parent_class;
> +    GtkBoxClass parent_class;
>  
>      /* signals */
>      void (*connect_failed) (SpiceUsbDeviceWidget *widget,

Frediano


More information about the Spice-devel mailing list