Mercurial > geeqie
diff src/main.c @ 138:71e1ebee420e
replaced gchar* path with FileData *fd
author | nadvornik |
---|---|
date | Tue, 11 Sep 2007 20:06:29 +0000 |
parents | 55166d93498d |
children | 8be2cc687304 |
line wrap: on
line diff
--- a/src/main.c Thu Aug 23 20:45:59 2007 +0000 +++ b/src/main.c Tue Sep 11 20:06:29 2007 +0000 @@ -435,7 +435,7 @@ static void gr_file_view(const gchar *text, gpointer data) { - view_window_new(text); + view_window_new(file_data_new_simple(text)); } static void gr_list_clear(const gchar *text, gpointer data) @@ -466,7 +466,7 @@ new = (!collection_get_first(gqview_command_collection)); } - if (collection_add(gqview_command_collection, text, FALSE) && new) + if (collection_add(gqview_command_collection, file_data_new_simple(text), FALSE) && new) { layout_image_set_collection(NULL, gqview_command_collection, collection_get_first(gqview_command_collection)); @@ -1380,7 +1380,7 @@ work = cmd_list; while (work) { - collection_add(cd, (gchar *)work->data, FALSE); + collection_add(cd, file_data_new_simple((gchar *)work->data), FALSE); work = work->next; }