diff src/bar_info.c @ 1191:bb02d0e2a573

Rename most comment_*() functions to more appropriate metadata_*().
author zas_
date Sun, 30 Nov 2008 21:43:01 +0000
parents f6449c17306b
children 48d62a7e3c33
line wrap: on
line diff
--- a/src/bar_info.c	Sun Nov 30 11:46:34 2008 +0000
+++ b/src/bar_info.c	Sun Nov 30 21:43:01 2008 +0000
@@ -406,7 +406,7 @@
 	list = keyword_list_pull(bd->keyword_view);
 	comment = comment_pull(bd->comment_view);
 
-	comment_write(bd->fd, list, comment);
+	metadata_write(bd->fd, list, comment);
 
 	string_list_free(list);
 	g_free(comment);
@@ -511,7 +511,7 @@
 		gtk_label_set_text(GTK_LABEL(bd->label_file_time), (bd->fd) ? text_from_time(bd->fd->date) : "");
 		}
 
-	if (comment_read(bd->fd, &keywords, &comment))
+	if (metadata_read(bd->fd, &keywords, &comment))
 		{
 		keyword_list_push(bd->keyword_view, keywords);
 		gtk_text_buffer_set_text(gtk_text_view_get_buffer(GTK_TEXT_VIEW(bd->comment_view)),