diff src/metadata.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/metadata.c	Sun Nov 30 21:43:01 2008 +0000
+++ b/src/metadata.c	Sun Nov 30 21:52:37 2008 +0000
@@ -455,7 +455,7 @@
 	return TRUE;
 }
 
-void metadata_set_keywords(FileData *fd, GList *keywords_to_use, gchar *comment_to_use, gint add)
+void metadata_set(FileData *fd, GList *keywords_to_use, gchar *comment_to_use, gboolean append)
 {
 	gchar *comment = NULL;
 	GList *keywords = NULL;
@@ -465,7 +465,7 @@
 	
 	if (comment_to_use)
 		{
-		if (add && comment && *comment)
+		if (append && comment && *comment)
 			{
 			gchar *tmp = comment;
 				
@@ -481,7 +481,7 @@
 	
 	if (keywords_to_use)
 		{
-		if (add && keywords && g_list_length(keywords) > 0)
+		if (append && keywords && g_list_length(keywords) > 0)
 			{
 			GList *work;