diff src/uri_utils.c @ 1452:67b40740122e

gint -> gboolean where applicable.
author zas_
date Mon, 16 Mar 2009 19:11:39 +0000
parents 8b89e3ff286b
children
line wrap: on
line diff
--- a/src/uri_utils.c	Mon Mar 16 18:19:11 2009 +0000
+++ b/src/uri_utils.c	Mon Mar 16 19:11:39 2009 +0000
@@ -49,7 +49,7 @@
 
 static gchar *hex_char = "0123456789ABCDEF";
 
-static gint escape_test(guchar c)
+static gboolean escape_test(guchar c)
 {
 	if (c < 32 || c > 127) return TRUE;
 	return (escape_char_list[c] != 0);
@@ -169,7 +169,7 @@
 		}
 }
 
-GList *uri_list_from_text(gchar *data, gint files_only)
+GList *uri_list_from_text(gchar *data, gboolean files_only)
 {
 	GList *list = NULL;
 	gint b, e;
@@ -205,7 +205,7 @@
 	return list;
 }
 
-GList *uri_filelist_from_text(gchar *data, gint files_only)
+GList *uri_filelist_from_text(gchar *data, gboolean files_only)
 {
 	GList *path_list = uri_list_from_text(data, files_only);
 	GList *filelist = filelist_from_path_list(path_list);
@@ -213,7 +213,7 @@
 	return filelist;
 }
 
-gchar *uri_text_from_list(GList *list, gint *len, gint plain_text)
+gchar *uri_text_from_list(GList *list, gint *len, gboolean plain_text)
 {
 	gchar *uri_text = NULL;
 	GString *string;
@@ -261,7 +261,7 @@
 	return uri_text;
 }
 
-gchar *uri_text_from_filelist(GList *list, gint *len, gint plain_text)
+gchar *uri_text_from_filelist(GList *list, gint *len, gboolean plain_text)
 {
 	GList *path_list = filelist_to_path_list(list);
 	gchar *ret = uri_text_from_list(path_list, len, plain_text);