Correct connection sequence to maximize chances of e.g.: getting connected :)

Aleksander Morgado aleksander at aleksander.es
Thu May 7 15:49:19 UTC 2020


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


More information about the ModemManager-devel mailing list