priv = CAMEL_FOLDER_SUMMARY_GET_PRIVATE (object);
+ if (priv->timeout_handle) {
+ g_source_remove (priv->timeout_handle);
+ priv->timeout_handle = 0;
+ }
+
if (priv->filter_index != NULL) {
g_object_unref (priv->filter_index);
priv->filter_index = NULL;
CamelFolderSummary *summary = CAMEL_FOLDER_SUMMARY (object);
CamelFolderSummaryPrivate *priv = summary->priv;
- if (priv->timeout_handle)
- g_source_remove (priv->timeout_handle);
-
g_hash_table_destroy (priv->uids);
g_hash_table_destroy (priv->loaded_infos);