]> Pileus Git - grits/blobdiff - src/data/gis-http.c
Move gdk_pixbuf calls to main thread
[grits] / src / data / gis-http.c
index b610fa3e67c57d60a79372f71a3d75ac42cdfc2d..f4c4ec5b4046f891990a23d9c6c762842eb9ff42 100644 (file)
@@ -226,6 +226,8 @@ GList *gis_http_available(GisHttp *http,
                g_snprintf(tmp, sizeof(tmp), ".index.%x", g_random_int());
                gchar *path = gis_http_fetch(http, index, tmp,
                                GIS_REFRESH, NULL, NULL);
+               if (!path)
+                       return files;
                gchar *html;
                g_file_get_contents(path, &html, NULL, NULL);