mirror of
https://gitlab.gnome.org/GNOME/calls.git
synced 2024-11-16 19:26:43 +00:00
e911f391c6
How `g_type_class_peek ()` was used it didn't return the correct parent class in most cases. G_DEFINE_TYPE macro creates a pointer we can use to get the parent class `n_p_parent_class`. Because we didn't use the correct parent class the object initialisation wasn't fully completed for some GtkWidgets. See https://developer.gnome.org/gobject/stable/chapter-gobject.html#gobject-instantiation for more information. This commit makes use of the `n_p_parent_class pointer` created for this specific use case where ever possible. Fixes: https://source.puri.sm/Librem5/calls/issues/118 |
||
---|---|---|
.. | ||
libgdbofono | ||
calls-ofono-call.c | ||
calls-ofono-call.h | ||
calls-ofono-origin.c | ||
calls-ofono-origin.h | ||
calls-ofono-provider.c | ||
calls-ofono-provider.h | ||
meson.build | ||
ofono.plugin.in |