Mercurial > geeqie.yaz
comparison src/collect.c @ 673:fbebf5cf4a55
Do not use printf() directly but use new wrapper function log_printf() instead.
author | zas_ |
---|---|
date | Fri, 16 May 2008 12:16:49 +0000 |
parents | 8268cbe682f1 |
children | a1dcef8cd1ae |
comparison
equal
deleted
inserted
replaced
672:913eb0ba99a6 | 673:fbebf5cf4a55 |
---|---|
96 { | 96 { |
97 if (!ci) return FALSE; | 97 if (!ci) return FALSE; |
98 | 98 |
99 collection_info_free_thumb(ci); | 99 collection_info_free_thumb(ci); |
100 | 100 |
101 printf("collection_info_load_thumb not implemented!\n(because an instant thumb loader not implemented)"); | 101 log_printf("collection_info_load_thumb not implemented!\n(because an instant thumb loader not implemented)"); |
102 return FALSE; | 102 return FALSE; |
103 #if 0 | 103 #if 0 |
104 if (create_thumbnail(ci->fd->path, &ci->pixmap, &ci->mask) < 0) return FALSE; | 104 if (create_thumbnail(ci->fd->path, &ci->pixmap, &ci->mask) < 0) return FALSE; |
105 | 105 |
106 if (ci->pixmap) gdk_pixmap_ref(ci->pixmap); | 106 if (ci->pixmap) gdk_pixmap_ref(ci->pixmap); |
903 { | 903 { |
904 collection_dialog_save_as(NULL, cw->cd); | 904 collection_dialog_save_as(NULL, cw->cd); |
905 } | 905 } |
906 else if (!collection_save(cw->cd, cw->cd->path)) | 906 else if (!collection_save(cw->cd, cw->cd->path)) |
907 { | 907 { |
908 printf("failed saving to collection path: %s\n", cw->cd->path); | 908 log_printf("failed saving to collection path: %s\n", cw->cd->path); |
909 } | 909 } |
910 break; | 910 break; |
911 case 'A': case 'a': | 911 case 'A': case 'a': |
912 collection_dialog_append(NULL, cw->cd); | 912 collection_dialog_append(NULL, cw->cd); |
913 break; | 913 break; |