[Spice-commits] server/dummy-channel.c

Frediano Ziglio fziglio at kemper.freedesktop.org
Thu Oct 27 09:37:43 UTC 2016


 server/dummy-channel.c |    7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

New commits:
commit 13e9cf019467baf954dd0442da6d646d52957595
Author: Frediano Ziglio <fziglio at redhat.com>
Date:   Wed Oct 26 10:07:49 2016 +0100

    Fix core-interface type regression
    
    This was introduced with 96e94c6f32d4345ea25ef7a474fbd92de03b38ad
    (Convert RedChannel hierarchy to GObject).
    The type for "core-interface" property should be
    SpiceCoreInterfaceInternal, not SpiceCoreInterface.
    
    Signed-off-by: Frediano Ziglio <fziglio at redhat.com>
    Acked-by: Christophe Fergeau <cfergeau at redhat.com>

diff --git a/server/dummy-channel.c b/server/dummy-channel.c
index c43221b..b1ef5b0 100644
--- a/server/dummy-channel.c
+++ b/server/dummy-channel.c
@@ -50,7 +50,8 @@ static void dummy_watch_update_mask(SpiceWatch *watch, int event_mask)
 {
 }
 
-static SpiceWatch *dummy_watch_add(int fd, int event_mask, SpiceWatchFunc func, void *opaque)
+static SpiceWatch *dummy_watch_add(const SpiceCoreInterfaceInternal *iface,
+                                   int fd, int event_mask, SpiceWatchFunc func, void *opaque)
 {
     return NULL; // apparently allowed?
 }
@@ -59,8 +60,8 @@ static void dummy_watch_remove(SpiceWatch *watch)
 {
 }
 
-// TODO: actually, since I also use channel_client_dummym, no need for core. Can be NULL
-static const SpiceCoreInterface dummy_core = {
+// TODO: actually, since I also use channel_client_dummy, no need for core. Can be NULL
+static const SpiceCoreInterfaceInternal dummy_core = {
     .watch_update_mask = dummy_watch_update_mask,
     .watch_add = dummy_watch_add,
     .watch_remove = dummy_watch_remove,


More information about the Spice-commits mailing list