Hey!

>
> (process:45799): GLib-GObject-WARNING **: 15:52:57.565: specified instance 
> size for type 'AvModem' is smaller than the parent type's 'GObject' instance 
> size
>

The first element in the AvModem struct that you define must be equal
to the parent object the new type inherits from. In your case, the
first element in the struct must be a "GObject parent;"

>
> struct _AvModem {

GObject parent;


>         MMObject *mmobject;
>         /* other members */
> };
>


-- 
Aleksander
https://aleksander.es
_______________________________________________
ModemManager-devel mailing list
ModemManager-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/modemmanager-devel

Reply via email to