Mercurial > geeqie.yaz
comparison src/view_file_list.c @ 1437:a3d3208b0c50
gint -> gboolean.
author | zas_ |
---|---|
date | Sun, 15 Mar 2009 07:07:52 +0000 |
parents | 249bf204004a |
children | bc3f5c0432f6 |
comparison
equal
deleted
inserted
replaced
1436:d7a6fb7a90dd | 1437:a3d3208b0c50 |
---|---|
849 work = list; | 849 work = list; |
850 while (work) | 850 while (work) |
851 { | 851 { |
852 gint match; | 852 gint match; |
853 FileData *fd = work->data; | 853 FileData *fd = work->data; |
854 gint done = FALSE; | 854 gboolean done = FALSE; |
855 | 855 |
856 while (!done) | 856 while (!done) |
857 { | 857 { |
858 FileData *old_fd = NULL; | 858 FileData *old_fd = NULL; |
859 gint old_version = 0; | 859 gint old_version = 0; |
1122 if (GTK_WIDGET_REALIZED(vf->listview) && | 1122 if (GTK_WIDGET_REALIZED(vf->listview) && |
1123 gtk_tree_view_get_path_at_pos(GTK_TREE_VIEW(vf->listview), 0, 0, &tpath, NULL, NULL, NULL)) | 1123 gtk_tree_view_get_path_at_pos(GTK_TREE_VIEW(vf->listview), 0, 0, &tpath, NULL, NULL, NULL)) |
1124 { | 1124 { |
1125 GtkTreeModel *store; | 1125 GtkTreeModel *store; |
1126 GtkTreeIter iter; | 1126 GtkTreeIter iter; |
1127 gint valid = TRUE; | 1127 gboolean valid = TRUE; |
1128 | 1128 |
1129 store = gtk_tree_view_get_model(GTK_TREE_VIEW(vf->listview)); | 1129 store = gtk_tree_view_get_model(GTK_TREE_VIEW(vf->listview)); |
1130 gtk_tree_model_get_iter(store, &iter, tpath); | 1130 gtk_tree_model_get_iter(store, &iter, tpath); |
1131 gtk_tree_path_free(tpath); | 1131 gtk_tree_path_free(tpath); |
1132 | 1132 |
1284 { | 1284 { |
1285 GtkTreeModel *store; | 1285 GtkTreeModel *store; |
1286 GtkTreeSelection *selection; | 1286 GtkTreeSelection *selection; |
1287 GList *slist; | 1287 GList *slist; |
1288 GList *work; | 1288 GList *work; |
1289 gint found = FALSE; | 1289 gboolean found = FALSE; |
1290 | 1290 |
1291 selection = gtk_tree_view_get_selection(GTK_TREE_VIEW(vf->listview)); | 1291 selection = gtk_tree_view_get_selection(GTK_TREE_VIEW(vf->listview)); |
1292 slist = gtk_tree_selection_get_selected_rows(selection, &store); | 1292 slist = gtk_tree_selection_get_selected_rows(selection, &store); |
1293 work = slist; | 1293 work = slist; |
1294 while (!found && work) | 1294 while (!found && work) |
1722 } | 1722 } |
1723 | 1723 |
1724 gint vflist_refresh(ViewFile *vf) | 1724 gint vflist_refresh(ViewFile *vf) |
1725 { | 1725 { |
1726 GList *old_list; | 1726 GList *old_list; |
1727 gint ret = TRUE; | 1727 gboolean ret = TRUE; |
1728 | 1728 |
1729 old_list = vf->list; | 1729 old_list = vf->list; |
1730 vf->list = NULL; | 1730 vf->list = NULL; |
1731 | 1731 |
1732 DEBUG_1("%s vflist_refresh: read dir", get_exec_time()); | 1732 DEBUG_1("%s vflist_refresh: read dir", get_exec_time()); |