From: Sergio Villar Senin Date: Tue, 3 Apr 2007 15:09:38 +0000 (+0000) Subject: Temporal fix X-Git-Tag: git_migration_finished~3959 X-Git-Url: http://git.maemo.org/git/?p=modest;a=commitdiff_plain;h=36bb7659245cbf81af28153d526016e3100b6250;hp=2ea9ef8016d9fe8789eec7d20887fd7623d093d1 Temporal fix pmo-trunk-r1490 --- diff --git a/src/modest-mail-operation.c b/src/modest-mail-operation.c index cdde44a..5062800 100644 --- a/src/modest-mail-operation.c +++ b/src/modest-mail-operation.c @@ -765,6 +765,12 @@ on_refresh_folder_status_update (TnyFolder *folder, const gchar *msg, 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);