Mercurial > geeqie
comparison src/bar_info.c @ 1234:31f50c1b6a9a
write keywords and comments with separate functions
author | nadvornik |
---|---|
date | Sat, 03 Jan 2009 15:29:08 +0000 |
parents | 18d08b10b80e |
children | 947e603a52c6 |
comparison
equal
deleted
inserted
replaced
1233:b51874ca8642 | 1234:31f50c1b6a9a |
---|---|
402 if (!bd->fd) return; | 402 if (!bd->fd) return; |
403 | 403 |
404 list = keyword_list_pull(bd->keyword_view); | 404 list = keyword_list_pull(bd->keyword_view); |
405 comment = comment_pull(bd->comment_view); | 405 comment = comment_pull(bd->comment_view); |
406 | 406 |
407 metadata_write(bd->fd, &list, &comment); | 407 metadata_write_string(bd->fd, COMMENT_KEY, comment); |
408 metadata_write_list(bd->fd, KEYWORD_KEY, list); | |
408 | 409 |
409 string_list_free(list); | 410 string_list_free(list); |
410 g_free(comment); | 411 g_free(comment); |
411 } | 412 } |
412 | 413 |