diff options
author | Marc-André Lureau <marcandre.lureau@redhat.com> | 2010-12-05 02:40:41 +0100 |
---|---|---|
committer | Marc-André Lureau <marcandre.lureau@redhat.com> | 2010-12-05 19:46:19 +0100 |
commit | 1178ac1770b29c9f3272be3e74a06e5c05f842f9 (patch) | |
tree | 8135ddfc059f7b1eafa10155aa2e0b83c5e7fe30 /gtk/spice-pulse.c | |
parent | 53c7e2d16a08768c8fb9e0842e85df509eed8396 (diff) |
gtk: WIP handle disconnect with coroutines
Diffstat (limited to 'gtk/spice-pulse.c')
-rw-r--r-- | gtk/spice-pulse.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk/spice-pulse.c b/gtk/spice-pulse.c index 38a51db..d5959e0 100644 --- a/gtk/spice-pulse.c +++ b/gtk/spice-pulse.c @@ -493,8 +493,8 @@ static void channel_event(SpiceChannel *channel, SpiceChannelEvent event, record_stop(SPICE_RECORD_CHANNEL(channel), pulse); p->rchannel = NULL; g_object_unref(channel); - } else - g_return_if_reached(); + } else /* if (p->pchannel || p->rchannel) */ + g_warn_if_reached(); break; default: break; |