Mercurial > geeqie
diff src/pan-item.c @ 1434:b106af9689db
More gboolean.
author | zas_ |
---|---|
date | Sat, 14 Mar 2009 20:07:23 +0000 |
parents | fe4da037be21 |
children | 956aab097ea7 |
line wrap: on
line diff
--- a/src/pan-item.c Sat Mar 14 19:25:21 2009 +0000 +++ b/src/pan-item.c Sat Mar 14 20:07:23 2009 +0000 @@ -722,7 +722,7 @@ /* when ignore_case and partial are TRUE, path should be converted to lower case */ static GList *pan_item_find_by_path_l(GList *list, GList *search_list, PanItemType type, const gchar *path, - gint ignore_case, gint partial) + gboolean ignore_case, gboolean partial) { GList *work; @@ -734,7 +734,7 @@ pi = work->data; if ((pi->type == type || type == PAN_ITEM_NONE) && pi->fd) { - gint match = FALSE; + gboolean match = FALSE; if (path[0] == G_DIR_SEPARATOR) { @@ -777,7 +777,7 @@ /* when ignore_case and partial are TRUE, path should be converted to lower case */ GList *pan_item_find_by_path(PanWindow *pw, PanItemType type, const gchar *path, - gint ignore_case, gint partial) + gboolean ignore_case, gboolean partial) { GList *list = NULL; @@ -791,7 +791,7 @@ } GList *pan_item_find_by_fd(PanWindow *pw, PanItemType type, FileData *fd, - gint ignore_case, gint partial) + gboolean ignore_case, gboolean partial) { if (!fd) return NULL; return pan_item_find_by_path(pw, type, fd->path, ignore_case, partial);