Mercurial > geeqie
diff src/collect.c @ 442:4b2d7f9af171
Big whitespaces cleanup:
- drop whitespaces at end of lines
- convert eight spaces to tab at start of lines
- drop spurious spaces mixed with tabs
- remove empty lines at end of files
author | zas_ |
---|---|
date | Sun, 20 Apr 2008 13:04:57 +0000 |
parents | 384eed18df04 |
children | ddabc4873a3f |
line wrap: on
line diff
--- a/src/collect.c Sun Apr 20 10:05:27 2008 +0000 +++ b/src/collect.c Sun Apr 20 13:04:57 2008 +0000 @@ -98,7 +98,7 @@ printf("collection_info_load_thumb not implemented!\n(because an instant thumb loader not implemented)"); return FALSE; -#if 0 +#if 0 if (create_thumbnail(ci->fd->path, &ci->pixmap, &ci->mask) < 0) return FALSE; if (ci->pixmap) gdk_pixmap_ref(ci->pixmap); @@ -372,7 +372,7 @@ collection_list = g_list_remove(collection_list, cd); g_hash_table_destroy(cd->existence); - + g_free(cd->path); g_free(cd->name); @@ -900,7 +900,7 @@ if (!cw->cd->path) { collection_dialog_save_as(NULL, cw->cd); - } + } else if (!collection_save(cw->cd, cw->cd->path)) { printf("failed saving to collection path: %s\n", cw->cd->path); @@ -1070,7 +1070,7 @@ generic_dialog_close(gd); if (!cw->cd->path) - { + { collection_dialog_save_close(NULL, cw->cd); return; }