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

Pavel Grunt pgrunt at redhat.com
Mon Jun 26 10:10:05 UTC 2017


The widget is defined as GTK_TYPE_BOX, use GtkBox instead of GtkVBox.
---
 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,
-- 
2.13.0



More information about the Spice-devel mailing list