empathy r2217 - trunk/libempathy
- From: xclaesse svn gnome org
- To: svn-commits-list gnome org
- Subject: empathy r2217 - trunk/libempathy
- Date: Fri, 9 Jan 2009 16:16:58 +0000 (UTC)
Author: xclaesse
Date: Fri Jan 9 16:16:58 2009
New Revision: 2217
URL: http://svn.gnome.org/viewvc/empathy?rev=2217&view=rev
Log:
If channel is invalidated before being ready, the error is handled in invalidated_cb, so we can return directly in ready_cb.
Modified:
trunk/libempathy/empathy-dispatch-operation.c
Modified: trunk/libempathy/empathy-dispatch-operation.c
==============================================================================
--- trunk/libempathy/empathy-dispatch-operation.c (original)
+++ trunk/libempathy/empathy-dispatch-operation.c Fri Jan 9 16:16:58 2009
@@ -370,6 +370,10 @@
EmpathyDispatchOperationPriv *priv = GET_PRIV (self);
GQuark channel_type;
+ /* The error will be handled in empathy_dispatch_operation_invalidated */
+ if (error != NULL)
+ return;
+
g_assert (channel == priv->channel);
/* If the channel wrapper is defined, we assume it's ready */
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]