On Fri, Feb 15, 2019 at 3:57 PM Frediano Ziglio <fziglio@xxxxxxxxxx> wrote: > > This causes a critical warning as private structures should not > be empty. > > Signed-off-by: Frediano Ziglio <fziglio@xxxxxxxxxx> ack > --- > src/desktop-integration.c | 3 +++ > 1 file changed, 3 insertions(+) > > diff --git a/src/desktop-integration.c b/src/desktop-integration.c > index 8458efaa..6f569ae2 100644 > --- a/src/desktop-integration.c > +++ b/src/desktop-integration.c > @@ -38,6 +38,9 @@ struct _SpiceDesktopIntegrationPrivate { > #ifdef WITH_GNOME > GDBusProxy *gnome_session_proxy; > guint gnome_automount_inhibit_cookie; > +#else > + /* private structures cannot be empty in GLib */ > + int dummy; > #endif > }; > > -- > 2.20.1 > > _______________________________________________ > Spice-devel mailing list > Spice-devel@xxxxxxxxxxxxxxxxxxxxx > https://lists.freedesktop.org/mailman/listinfo/spice-devel -- Marc-André Lureau _______________________________________________ Spice-devel mailing list Spice-devel@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/spice-devel