[Spice-commits] src/channel-display.c src/channel-display.h
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Thu May 24 08:29:53 UTC 2018
src/channel-display.c | 4 +---
src/channel-display.h | 2 --
2 files changed, 1 insertion(+), 5 deletions(-)
New commits:
commit afadb6b0c82a0e14eb11166bef05fa54fb761ee9
Author: Frediano Ziglio <fziglio at redhat.com>
Date: Wed May 23 10:41:21 2018 +0100
channel-display: Avoid ABI incompatibility for streaming-mode signal
Changing SpiceDisplayChannelClass structure causes ABI incompatibility.
Having a field for streaming-mode signal is not planned to be used
so remove it.
Signed-off-by: Frediano Ziglio <fziglio at redhat.com>
Acked-by: Snir Sheriber <ssheribe at redhat.com>
diff --git a/src/channel-display.c b/src/channel-display.c
index 3f2fb3d..1c0021e 100644
--- a/src/channel-display.c
+++ b/src/channel-display.c
@@ -470,9 +470,7 @@ static void spice_display_channel_class_init(SpiceDisplayChannelClass *klass)
signals[SPICE_DISPLAY_STREAMING_MODE] =
g_signal_new("streaming-mode",
G_OBJECT_CLASS_TYPE(gobject_class),
- 0,
- G_STRUCT_OFFSET(SpiceDisplayChannelClass,
- streaming_mode),
+ 0, 0,
NULL, NULL,
g_cclosure_user_marshal_POINTER__BOOLEAN,
G_TYPE_POINTER,
diff --git a/src/channel-display.h b/src/channel-display.h
index 9c51aa2..3129309 100644
--- a/src/channel-display.h
+++ b/src/channel-display.h
@@ -141,8 +141,6 @@ struct _SpiceDisplayChannelClass {
gint x, gint y, gint w, gint h);
void (*display_mark)(SpiceChannel *channel,
gboolean mark);
- void (*streaming_mode)(SpiceChannel *channel,
- gboolean streaming_mode);
/*< private >*/
};
More information about the Spice-commits
mailing list