* src/modest-search.c: (modest_search_folder): Check for a GError
when calling tny_folder_get_headers(), to show that this is not the cause
of later failure.
pmo-trunk-r2338
+2007-06-20 Murray Cumming <murrayc@murrayc-desktop>
+
+ * src/modest-search.c: (modest_search_folder): Check for a GError
+ when calling tny_folder_get_headers(), to show that this is not the cause
+ of later failure.
+
2007-06-20 Murray Cumming <murrayc@murrayc.com>
* src/dbus_api/modest-dbus-callbacks.c: (modest_dbus_req_filter):
#endif
list = tny_simple_list_new ();
- tny_folder_get_headers (folder, list, FALSE, NULL);
+ GError *error = NULL;
+ tny_folder_get_headers (folder, list, FALSE /* don't refresh */, &error);
+ if (error) {
+ g_warning ("%s: tny_folder_get_headers() failed with error=%s.\n",
+ __FUNCTION__, error->message);
+ g_error_free (error);
+ error = NULL;
+ }
iter = tny_list_create_iterator (list);