* src/widgets/modest-folder-view.c: (update_model):
Do not unref the treemodel before we have finished with it.
This prevents a valgrind warning and an occasional crash at startup.
pmo-trunk-r2077
+2007-06-06 Murray Cumming <murrayc@murrayc.come>
+ * src/widgets/modest-folder-view.c: (update_model):
+ Do not unref the treemodel before we have finished with it.
+ This prevents a valgrind warning and an occasional crash at startup.
+
2007-06-06 Marcus Bauer <marcusb@openismus.com>
* libmodest-dbus-client/libmodest-dbus-client.h:
tny_account_store_get_accounts (TNY_ACCOUNT_STORE(account_store),
model_as_list,
TNY_ACCOUNT_STORE_STORE_ACCOUNTS);
-
-
- g_object_unref (model_as_list);
model_as_list = NULL;
/*
(filter_model) ? filter_model : sortable);
expand_root_items (self); /* expand all account folders */
+
+ g_object_unref (model);
+
+ if (filter_model)
+ g_object_unref (filter_model);
+
+ g_object_unref (sortable);
+
return TRUE;
}