summaryrefslogtreecommitdiff
path: root/gtk/spice-pulse.c
diff options
context:
space:
mode:
authorMarc-André Lureau <marcandre.lureau@redhat.com>2010-12-05 02:40:41 +0100
committerMarc-André Lureau <marcandre.lureau@redhat.com>2010-12-05 19:46:19 +0100
commit1178ac1770b29c9f3272be3e74a06e5c05f842f9 (patch)
tree8135ddfc059f7b1eafa10155aa2e0b83c5e7fe30 /gtk/spice-pulse.c
parent53c7e2d16a08768c8fb9e0842e85df509eed8396 (diff)
gtk: WIP handle disconnect with coroutines
Diffstat (limited to 'gtk/spice-pulse.c')
-rw-r--r--gtk/spice-pulse.c4
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;