• Simon McVittie's avatar
    GsdSmartcardService: Use correct parent type for structs · 1b31868c
    Simon McVittie authored
    GDBusObjectSkeleton objects are larger than GObject, so we need to
    allocate enough space. Otherwise, if we're lucky we'll get:
    
        Sep 13 11:09:32 espresso gsd-smartcard[12882]: specified class size for type 'GsdSmartcardService' is smaller than the parent type's 'GsdSmartcardServiceManagerSkeleton' class size
        Sep 13 11:09:32 espresso gsd-smartcard[12882]: g_type_add_interface_static: assertion 'G_TYPE_IS_INSTANTIATABLE (instance_type)' failed
    
    and if we're unlucky we'll get object fields overwriting each other.
    Signed-off-by: Simon McVittie's avatarSimon McVittie <smcv@debian.org>
    Fixes: 76b6b794 "smartcard: Use G_DECLARE_FINAL_TYPE for GsdSmartcardService"
    1b31868c
Name
Last commit
Last update
build-aux/ci Loading commit data...
data Loading commit data...
gnome-settings-daemon Loading commit data...
plugins Loading commit data...
po Loading commit data...
subprojects Loading commit data...
tests Loading commit data...
.gitignore Loading commit data...
.gitlab-ci.yml Loading commit data...
.gitmodules Loading commit data...
AUTHORS Loading commit data...
COPYING Loading commit data...
COPYING.LIB Loading commit data...
ChangeLog Loading commit data...
MAINTAINERS Loading commit data...
NEWS Loading commit data...
README Loading commit data...
gnome-settings-daemon.doap Loading commit data...
meson.build Loading commit data...
meson_options.txt Loading commit data...
meson_post_install.py Loading commit data...