ModestMailOperation *self;
ModestMailOperationPrivate *priv;
+ /* TODO: if tinymail issues a status update before the
+ callback call then this could happen. If this is true the
+ we must review the design */
+ if (!G_IS_OBJECT (user_data))
+ return;
+
self = MODEST_MAIL_OPERATION (user_data);
priv = MODEST_MAIL_OPERATION_GET_PRIVATE(self);