diff -uNr tapiocaui-0.3.9-org/src/tapiocaui_shell_media.c tapiocaui-0.3.9/src/tapiocaui_shell_media.c --- tapiocaui-0.3.9-org/src/tapiocaui_shell_media.c 2006-06-08 21:57:31.000000000 +0200 +++ tapiocaui-0.3.9/src/tapiocaui_shell_media.c 2006-10-30 17:12:14.000000000 +0100 @@ -173,7 +173,7 @@ g_signal_handlers_disconnect_by_func (G_OBJECT (stream), G_CALLBACK (new_native_candidate), comm); g_signal_handlers_disconnect_by_func (G_OBJECT (stream), G_CALLBACK (state_changed), self); - if (farsight_stream_get_state != FARSIGHT_STREAM_STATE_STOPPED) + if (farsight_stream_get_state != FARSIGHT_STREAM_STATE_DISCONNECTED) farsight_stream_stop (stream); g_object_unref (stream); comm->stream = NULL; @@ -357,11 +357,11 @@ TapiocaUIShell *self = (TapiocaUIShell *) user_data; switch (state) { - case FARSIGHT_STREAM_STATE_STOPPED: + case FARSIGHT_STREAM_STATE_DISCONNECTED: tapiocaui_debug ("stream stopped: stream=%p", stream); tapiocaui_shell_close_call (self, self->priv->active_comm); break; - case FARSIGHT_STREAM_STATE_PLAYING: + case FARSIGHT_STREAM_STATE_CONNECTED: tapiocaui_debug ("stream playing: stream=%p", stream); break; default: