[Spice-commits] src/desktop-integration.c
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Fri Feb 15 16:15:46 UTC 2019
src/desktop-integration.c | 3 +++
1 file changed, 3 insertions(+)
New commits:
commit c88523f88e715be0dc51862e1d08c5b4705b9f7b
Author: Frediano Ziglio <fziglio at redhat.com>
Date: Fri Feb 15 10:58:19 2019 +0000
desktop-integration: Avoid empty private structure
This causes a critical warning as private structures should not
be empty.
Signed-off-by: Frediano Ziglio <fziglio at redhat.com>
Acked-by: Marc-André Lureau <marcandre.lureau at gmail.com>
diff --git a/src/desktop-integration.c b/src/desktop-integration.c
index 8458efa..6f569ae 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
};
More information about the Spice-commits
mailing list