diff src/bar_info.c @ 1192:48d62a7e3c33

metadata_set_keywords() -> metadata_set(). Use gboolean type for boolean parameters.
author zas_
date Sun, 30 Nov 2008 21:52:37 +0000
parents bb02d0e2a573
children aed0e28b2744
line wrap: on
line diff
--- a/src/bar_info.c	Sun Nov 30 21:43:01 2008 +0000
+++ b/src/bar_info.c	Sun Nov 30 21:52:37 2008 +0000
@@ -652,7 +652,7 @@
 	bar_info_write(bd);
 }
 
-static void bar_info_set_selection(BarInfoData *bd, gint set_keywords, gint set_comment, gint add)
+static void bar_info_set_selection(BarInfoData *bd, gboolean set_keywords, gboolean set_comment, gboolean append)
 {
 	GList *keywords = NULL;
 	GList *list = NULL;
@@ -671,7 +671,7 @@
 		comment = comment_pull(bd->comment_view);
 		}
 
-	if (add && !keywords && !comment) return;
+	if (append && !keywords && !comment) return;
 
 	list = bd->list_func(bd->list_data);
 	work = list;
@@ -680,7 +680,7 @@
 		FileData *fd = work->data;
 		work = work->next;
 
-		metadata_set_keywords(fd, keywords, comment, add);
+		metadata_set(fd, keywords, comment, append);
 		}
 
 	filelist_free(list);