gint -> gboolean.
authorLaurent Monin <geeqie@norz.org>
Sun, 15 Mar 2009 07:07:52 +0000 (07:07 +0000)
committerLaurent Monin <geeqie@norz.org>
Sun, 15 Mar 2009 07:07:52 +0000 (07:07 +0000)
25 files changed:
src/cache_maint.c
src/format_canon.c
src/format_raw.c
src/fullscreen.c
src/layout.c
src/main.c
src/pixbuf_util.c
src/preferences.c
src/print.c
src/remote.c
src/search.c
src/thumb_standard.c
src/trash.c
src/ui_fileops.c
src/ui_menu.c
src/ui_pathsel.c
src/ui_tabcomp.c
src/ui_tree_edit.c
src/ui_utildlg.c
src/view_dir.c
src/view_dir_list.c
src/view_dir_tree.c
src/view_file.c
src/view_file_icon.c
src/view_file_list.c

index e317230..f7acd1d 100644 (file)
@@ -360,7 +360,7 @@ gint cache_maintain_home_dir(const gchar *dir, gint recursive, gint clear)
        GList *dlist = NULL;
        FileData *dir_fd;
        GList *flist = NULL;
-       gint still_have_a_file = FALSE;
+       gboolean still_have_a_file = FALSE;
 
        DEBUG_1("maintainance check: %s", dir);
 
@@ -434,7 +434,7 @@ gint cache_maintain_dir(FileData *dir_fd, gint recursive, gint clear)
        GList *list = NULL;
        gchar *cachedir;
        FileData *cachedir_fd;
-       gint still_have_a_file = FALSE;
+       gboolean still_have_a_file = FALSE;
        GList *work;
 
        cachedir = g_build_filename(dir, GQ_CACHE_LOCAL_THUMB, NULL);
index 81c5605..40e2d60 100644 (file)
@@ -95,7 +95,7 @@ static gint canon_cr2_tiff_entry(guchar *data, const guint len, guint offset, Ex
 static gint canon_cr2_tiff_table(guchar *data, const guint len, guint offset, ExifByteOrder bo,
                                 guint *image_offset)
 {
-       gint jpeg_encoding = FALSE;
+       gboolean jpeg_encoding = FALSE;
        guint count;
        guint i;
 
index d2488c7..4da8093 100644 (file)
@@ -310,7 +310,7 @@ gint format_raw_img_exif_offsets_fd(gint fd, const gchar *path,
        if (path)
                {
                const gchar *ext;
-               gint match = FALSE;
+               gboolean match = FALSE;
                gint i;
 
                ext = strrchr(path, '.');
index 772a0b8..daaa5de 100644 (file)
@@ -180,8 +180,8 @@ static void fullscreen_image_complete_cb(ImageWindow *imd, gboolean preload, gpo
 
 static void fullscreen_saver_deactivate(void)
 {
-       static gint checked = FALSE;
-       static gint found = FALSE;
+       static gboolean checked = FALSE;
+       static gboolean found = FALSE;
 
        if (!checked)
                {
index 49e7a3e..7a4c642 100644 (file)
@@ -2124,8 +2124,8 @@ void layout_sync_options_with_current_state(LayoutWindow *lw)
 
 void layout_apply_options(LayoutWindow *lw, LayoutOptions *lop)
 {
-       gint refresh_style;
-       gint refresh_lists;
+       gboolean refresh_style;
+       gboolean refresh_lists;
 
        if (!layout_valid(&lw)) return;
 /* FIXME: add other options too */
index a7a74a8..4d80339 100644 (file)
@@ -198,7 +198,7 @@ static void parse_command_line(gint argc, gchar *argv[])
        GList *list = NULL;
        GList *remote_list = NULL;
        GList *remote_errors = NULL;
-       gint remote_do = FALSE;
+       gboolean remote_do = FALSE;
        gchar *first_dir = NULL;
        
        command_line = g_new0(CommandLine, 1);
index 19b9efe..ab99cbd 100644 (file)
@@ -860,7 +860,7 @@ void pixbuf_draw_triangle(GdkPixbuf *pb,
        gint slope1_x, slope1_y;
        gint y;
        gint t;
-       gint middle = FALSE;
+       gboolean middle = FALSE;
 
        if (!pb) return;
 
@@ -961,7 +961,7 @@ static gint util_clip_line(gdouble clip_x, gdouble clip_y, gdouble clip_w, gdoub
                           gdouble x1, gdouble y1, gdouble x2, gdouble y2,
                           gdouble *rx1, gdouble *ry1, gdouble *rx2, gdouble *ry2)
 {
-       gint flip = FALSE;
+       gboolean flip = FALSE;
        gdouble d;
 
        if (x1 > x2)
index 4fdfe68..3949deb 100644 (file)
@@ -219,7 +219,7 @@ static void config_parse_editor_entries(GtkWidget **editor_name_entry, GtkWidget
 static void config_window_apply(void)
 {
        gint i;
-       gint refresh = FALSE;
+       gboolean refresh = FALSE;
 
 //     config_parse_editor_entries(editor_name_entry, editor_command_entry); 
 //     layout_edit_update_all();
index 393e6a0..36adea3 100644 (file)
@@ -1525,7 +1525,7 @@ static gint print_job_rgb_page_new(PrintWindow *pw, gint page)
 static gint print_job_rgb_page_done(PrintWindow *pw)
 {
        gchar *pathl;
-       gint ret = FALSE;
+       gboolean ret = FALSE;
 
        if (!pw->job_pixbuf) return FALSE;
 
@@ -1624,7 +1624,7 @@ static gdouble convert_pango_dpi(gdouble points)
 
                if (dpi < 25.0)
                        {
-                       static gint warned = FALSE;
+                       static gboolean warned = FALSE;
                        gdouble fallback_dpi = 96.0;
 
                        if (!warned)
@@ -1909,7 +1909,7 @@ static gint print_job_page_image(PrintWindow *pw, GdkPixbuf *pixbuf,
                                 gdouble x, gdouble y, gdouble w, gdouble h,
                                 gdouble offx, gdouble offy)
 {
-       gint success = FALSE;
+       gboolean success = FALSE;
 
        if (w <= 0.0 || h <= 0.0) return TRUE;
 
@@ -1933,7 +1933,7 @@ static gint print_job_page_text(PrintWindow *pw, const gchar *text, gdouble poin
                                gdouble x, gdouble y, gdouble width,
                                guint8 r, guint8 g, guint8 b)
 {
-       gint success = TRUE;
+       gboolean success = TRUE;
 
        if (!text) return TRUE;
 
@@ -2034,8 +2034,8 @@ static gint print_job_text_image(PrintWindow *pw, const gchar *path,
                                 gint sw, gint sh, gint proof)
 {
        GString *string;
-       gint space = FALSE;
-       gint newline = FALSE;
+       gboolean space = FALSE;
+       gboolean newline = FALSE;
        gint ret;
 
        if (pw->text_fields == 0) return TRUE;
@@ -2097,7 +2097,7 @@ static void print_job_render_image_loader_done(ImageLoader *il, gpointer data)
 {
        PrintWindow *pw = data;
        GdkPixbuf *pixbuf;
-       gint success = TRUE;
+       gboolean success = TRUE;
 
        pixbuf = image_loader_get_pixbuf(il);
        if (pixbuf)
@@ -2236,7 +2236,7 @@ static void print_job_render_proof_loader_done(ImageLoader *il, gpointer data)
        gdouble proof_w, proof_h;
        gdouble icon_w, icon_h;
        gdouble scale;
-       gint success = TRUE;
+       gboolean success = TRUE;
 
        if (pw->proof_columns < 1 || pw->proof_rows < 1)
                {
@@ -2436,7 +2436,7 @@ static void print_job_render(PrintWindow *pw)
 
 static gint print_job_init(PrintWindow *pw)
 {
-       gint success = FALSE;
+       gboolean success = FALSE;
 
        pw->job_page = 0;
 
@@ -2459,7 +2459,7 @@ static gint print_job_init(PrintWindow *pw)
 
 static gint print_job_finish(PrintWindow *pw)
 {
-       gint success = FALSE;
+       gboolean success = FALSE;
 
        switch (pw->job_format)
                {
@@ -3046,9 +3046,9 @@ static void print_custom_entry_set(PrintWindow *pw, GtkWidget *combo)
 
 static void print_output_set(PrintWindow *pw, PrintOutput output)
 {
-       gint use_file = FALSE;
-       gint use_custom = FALSE;
-       gint use_format = FALSE;
+       gboolean use_file = FALSE;
+       gboolean use_custom = FALSE;
+       gboolean use_format = FALSE;
 
        pw->output = output;
 
index 6c96417..6c04fc6 100644 (file)
@@ -294,7 +294,7 @@ static void sighandler_sigpipe(gint sig)
 static gint remote_client_send(RemoteConnection *rc, const gchar *text)
 {
        struct sigaction new_action, old_action;
-       gint ret = FALSE;
+       gboolean ret = FALSE;
 
        if (!rc || rc->server) return FALSE;
        if (!text) return TRUE;
@@ -521,7 +521,7 @@ static void gr_list_clear(const gchar *text, gpointer data)
 static void gr_list_add(const gchar *text, gpointer data)
 {
        RemoteData *remote_data = data;
-       gint new = TRUE;
+       gboolean new = TRUE;
 
        if (!remote_data->command_collection)
                {
@@ -595,7 +595,7 @@ static RemoteCommandEntry remote_commands[] = {
 
 static RemoteCommandEntry *remote_command_find(const gchar *text, const gchar **offset)
 {
-       gint match = FALSE;
+       gboolean match = FALSE;
        gint i;
 
        i = 0;
@@ -697,7 +697,7 @@ void remote_control(const gchar *arg_exec, GList *remote_list, const gchar *path
                    GList *cmd_list, GList *collection_list)
 {
        RemoteConnection *rc;
-       gint started = FALSE;
+       gboolean started = FALSE;
        gchar *buf;
 
        buf = g_build_filename(get_rc_dir(), ".command", NULL);
@@ -707,7 +707,7 @@ void remote_control(const gchar *arg_exec, GList *remote_list, const gchar *path
                GString *command;
                GList *work;
                gint retry_count = 12;
-               gint blank = FALSE;
+               gboolean blank = FALSE;
 
                printf_term(_("Remote %s not running, starting..."), GQ_APPNAME);
 
@@ -763,8 +763,8 @@ void remote_control(const gchar *arg_exec, GList *remote_list, const gchar *path
                {
                GList *work;
                const gchar *prefix;
-               gint use_path = TRUE;
-               gint sent = FALSE;
+               gboolean use_path = TRUE;
+               gboolean sent = FALSE;
 
                work = remote_list;
                while (work)
index 8e39eba..85a3200 100644 (file)
@@ -371,7 +371,7 @@ static gint search_result_row_selected(SearchData *sd, FileData *fd)
        GtkTreeSelection *selection;
        GList *slist;
        GList *work;
-       gint found = FALSE;
+       gboolean found = FALSE;
 
        selection = gtk_tree_view_get_selection(GTK_TREE_VIEW(sd->result_view));
        slist = gtk_tree_selection_get_selected_rows(selection, &store);
@@ -1195,7 +1195,7 @@ static gint search_result_release_cb(GtkWidget *widget, GdkEventButton *bevent,
 static gint search_result_keypress_cb(GtkWidget *widget, GdkEventKey *event, gpointer data)
 {
        SearchData *sd = data;
-       gint stop_signal = FALSE;
+       gboolean stop_signal = FALSE;
        GtkTreeModel *store;
        GtkTreeSelection *selection;
        GList *slist;
@@ -1338,7 +1338,7 @@ static gint search_result_keypress_cb(GtkWidget *widget, GdkEventKey *event, gpo
 static gint search_window_keypress_cb(GtkWidget *widget, GdkEventKey *event, gpointer data)
 {
        SearchData *sd = data;
-       gint stop_signal = FALSE;
+       gboolean stop_signal = FALSE;
 
        if (event->state & GDK_CONTROL_MASK)
                {
@@ -1573,9 +1573,9 @@ static void search_file_load_done_cb(ImageLoader *il, gpointer data)
 static gint search_file_do_extra(SearchData *sd, FileData *fd, gint *match,
                                 gint *width, gint *height, gint *simval)
 {
-       gint new_data = FALSE;
-       gint tmatch = TRUE;
-       gint tested = FALSE;
+       gboolean new_data = FALSE;
+       gboolean tmatch = TRUE;
+       gboolean tested = FALSE;
 
        if (!sd->img_cd)
                {
@@ -1684,9 +1684,9 @@ static gint search_file_do_extra(SearchData *sd, FileData *fd, gint *match,
 static gint search_file_next(SearchData *sd)
 {
        FileData *fd;
-       gint match = TRUE;
-       gint tested = FALSE;
-       gint extra_only = FALSE;
+       gboolean match = TRUE;
+       gboolean tested = FALSE;
+       gboolean extra_only = FALSE;
        gint width = 0;
        gint height = 0;
        gint sim = 0;
@@ -1817,7 +1817,7 @@ static gint search_file_next(SearchData *sd)
 
                        if (sd->match_keywords == SEARCH_MATCH_ALL)
                                {
-                               gint found = TRUE;
+                               gboolean found = TRUE;
 
                                needle = sd->search_keyword_list;
                                while (needle && found)
@@ -1837,7 +1837,7 @@ static gint search_file_next(SearchData *sd)
                                }
                        else if (sd->match_keywords == SEARCH_MATCH_ANY)
                                {
-                               gint found = FALSE;
+                               gboolean found = FALSE;
 
                                needle = sd->search_keyword_list;
                                while (needle && !found)
@@ -1856,7 +1856,7 @@ static gint search_file_next(SearchData *sd)
                                }
                        else if (sd->match_keywords == SEARCH_MATCH_NONE)
                                {
-                               gint found = FALSE;
+                               gboolean found = FALSE;
 
                                needle = sd->search_keyword_list;
                                while (needle && !found)
@@ -1991,7 +1991,7 @@ static gint search_step_cb(gpointer data)
                {
                GList *list = NULL;
                GList *dlist = NULL;
-               gint success = FALSE;
+               gboolean success = FALSE;
 
                sd->search_done_list = g_list_prepend(sd->search_done_list, fd);
 
index 5697539..4735e92 100644 (file)
@@ -197,7 +197,7 @@ static gchar *thumb_loader_std_cache_path(ThumbLoaderStd *tl, gint local, GdkPix
 static gint thumb_loader_std_fail_check(ThumbLoaderStd *tl)
 {
        gchar *fail_path;
-       gint result = FALSE;
+       gboolean result = FALSE;
 
        fail_path = thumb_loader_std_cache_path(tl, FALSE, NULL, TRUE);
        if (isfile(fail_path))
@@ -776,7 +776,7 @@ static void thumb_loader_std_thumb_file_validate_done_cb(ThumbLoaderStd *tl, gpo
 {
        ThumbValidate *tv = data;
        GdkPixbuf *pixbuf;
-       gint valid = FALSE;
+       gboolean valid = FALSE;
 
        /* this function is called on success, so the pixbuf should not be a fallback*/
        pixbuf = thumb_loader_std_get_pixbuf(tv->tl);
index c961d93..de13058 100644 (file)
@@ -33,8 +33,8 @@ static gint file_util_safe_number(gint64 free_space)
        gint64 total = 0;
        GList *list;
        GList *work;
-       gint sorted = FALSE;
-       gint warned = FALSE;
+       gboolean sorted = FALSE;
+       gboolean warned = FALSE;
        FileData *dir_fd;
 
        dir_fd = file_data_new_simple(options->file_ops.safe_delete_path);
@@ -126,7 +126,7 @@ gint file_util_safe_unlink(const gchar *path)
 {
        static GenericDialog *gd = NULL;
        gchar *result = NULL;
-       gint success = TRUE;
+       gboolean success = TRUE;
 
        if (!isfile(path)) return FALSE;
 
index 2c8d48c..f810a5d 100644 (file)
@@ -69,7 +69,7 @@ static gint encoding_dialog_delay(gpointer data)
 
 static void encoding_dialog(const gchar *path)
 {
-       static gint warned_user = FALSE;
+       static gboolean warned_user = FALSE;
        GenericDialog *gd;
        GString *string;
        const gchar *lc;
@@ -418,7 +418,7 @@ time_t filetime(const gchar *s)
 
 gint filetime_set(const gchar *s, time_t tval)
 {
-       gint ret = FALSE;
+       gboolean ret = FALSE;
 
        if (tval > 0)
                {
@@ -519,7 +519,7 @@ gint copy_file_attributes(const gchar *s, const gchar *t, gint perms, gint mtime
 {
        struct stat st;
        gchar *sl, *tl;
-       gint ret = FALSE;
+       gboolean ret = FALSE;
 
        if (!s || !t) return FALSE;
 
@@ -615,7 +615,7 @@ gint copy_file(const gchar *s, const gchar *t)
 gint move_file(const gchar *s, const gchar *t)
 {
        gchar *sl, *tl;
-       gint ret = TRUE;
+       gboolean ret = TRUE;
 
        if (!s || !t) return FALSE;
 
@@ -868,7 +868,7 @@ gint file_in_path(const gchar *name)
        gchar *path;
        gchar *namel;
        gint p, l;
-       gint ret = FALSE;
+       gboolean ret = FALSE;
 
        if (!name) return FALSE;
        path = g_strdup(getenv("PATH"));
@@ -909,7 +909,7 @@ gboolean recursive_mkdir_if_not_exists(const gchar *path, mode_t mode)
                        p++;
                        if (p[0] == G_DIR_SEPARATOR || p[0] == '\0')
                                {
-                               gint end = TRUE;
+                               gboolean end = TRUE;
 
                                if (p[0] != '\0')
                                        {
index 940056b..a733e2a 100644 (file)
@@ -165,7 +165,7 @@ GtkWidget *popup_menu_short_lived(void)
 
 gint popup_menu_position_clamp(GtkMenu *menu, gint *x, gint *y, gint height)
 {
-       gint adjusted = FALSE;
+       gboolean adjusted = FALSE;
        gint w, h;
        gint xw, xh;
 
index e4a7cc3..2b5e2e5 100644 (file)
@@ -735,7 +735,7 @@ static void dest_new_dir_cb(GtkWidget *widget, gpointer data)
        gchar *path;
        gchar *buf;
        const gchar *tmp;
-       gint from_text = FALSE;
+       gboolean from_text = FALSE;
 
        tmp = gtk_entry_get_text(GTK_ENTRY(dd->entry));
        if (!isname(tmp))
index 7bcd3e0..91f6307 100644 (file)
@@ -409,7 +409,7 @@ static gint tab_completion_do(TabCompData *td)
        const gchar *entry_file;
        gchar *entry_dir;
        gchar *ptr;
-       gint home_exp = FALSE;
+       gboolean home_exp = FALSE;
 
        if (entry_text[0] == '\0')
                {
@@ -547,7 +547,7 @@ static gint tab_completion_do(TabCompData *td)
                        else
                                {
                                gsize c = strlen(entry_file);
-                               gint done = FALSE;
+                               gboolean done = FALSE;
                                gchar *test_file = poss->data;
 
                                while (!done)
@@ -602,7 +602,7 @@ static gint tab_completion_do(TabCompData *td)
 static gint tab_completion_key_pressed(GtkWidget *widget, GdkEventKey *event, gpointer data)
 {
        TabCompData *td = data;
-       gint stop_signal = FALSE;
+       gboolean stop_signal = FALSE;
 
        switch (event->keyval)
                {
index 8c3c40d..15df216 100644 (file)
@@ -410,7 +410,7 @@ gint tree_view_move_cursor_away(GtkTreeView *widget, GtkTreeIter *iter, gint onl
        GtkTreeModel *store;
        GtkTreePath *tpath;
        GtkTreePath *fpath;
-       gint move = FALSE;
+       gboolean move = FALSE;
 
        if (!iter) return FALSE;
 
index aec1278..8d0d5a8 100644 (file)
@@ -125,7 +125,7 @@ gint generic_dialog_get_alternative_button_order(GtkWidget *widget)
 {
        GtkSettings *settings;
        GObjectClass *klass;
-       gint alternative_order = FALSE;
+       gboolean alternative_order = FALSE;
 
        settings = gtk_settings_get_for_screen(gtk_widget_get_screen(widget));
        klass = G_OBJECT_CLASS(GTK_SETTINGS_GET_CLASS(settings));
index 9756449..7499f04 100644 (file)
@@ -120,7 +120,7 @@ void vd_set_layout(ViewDir *vd, LayoutWindow *layout)
 
 gint vd_set_fd(ViewDir *vd, FileData *dir_fd)
 {
-       gint ret = FALSE;
+       gboolean ret = FALSE;
 
        file_data_unregister_notify_func(vd_notify_cb, vd);
 
@@ -168,7 +168,7 @@ void vd_select_row(ViewDir *vd, FileData *fd)
 
 gint vd_find_row(ViewDir *vd, FileData *fd, GtkTreeIter *iter)
 {
-       gint ret = FALSE;
+       gboolean ret = FALSE;
 
        switch (vd->type)
        {
@@ -557,8 +557,8 @@ GtkWidget *vd_pop_menu(ViewDir *vd, FileData *fd)
        GtkWidget *submenu;
        GtkWidget *item;
        gint active;
-       gint rename_delete_active = FALSE;
-       gint new_folder_active = FALSE;
+       gboolean rename_delete_active = FALSE;
+       gboolean new_folder_active = FALSE;
        gint i;
 
        active = (fd != NULL);
@@ -746,7 +746,7 @@ static void vd_dnd_drop_receive(GtkWidget *widget,
                {
                GList *list;
                gint active;
-               gint done = FALSE;
+               gboolean done = FALSE;
 
                list = uri_filelist_from_text((gchar *)selection_data->data, TRUE);
                if (!list) return;
@@ -994,7 +994,7 @@ gint vd_release_cb(GtkWidget *widget, GdkEventButton *bevent, gpointer data)
 gint vd_press_key_cb(GtkWidget *widget, GdkEventKey *event, gpointer data)
 {
        ViewDir *vd = data;
-       gint ret = FALSE;
+       gboolean ret = FALSE;
 
        switch (vd->type)
        {
@@ -1008,7 +1008,7 @@ gint vd_press_key_cb(GtkWidget *widget, GdkEventKey *event, gpointer data)
 gint vd_press_cb(GtkWidget *widget, GdkEventButton *bevent, gpointer data)
 {
        ViewDir *vd = data;
-       gint ret = FALSE;
+       gboolean ret = FALSE;
 
        switch (vd->type)
        {
index 567112c..008f49a 100644 (file)
@@ -188,7 +188,7 @@ static gint vdlist_populate(ViewDir *vd, gboolean clear)
                GdkPixbuf *pixbuf;
                const gchar *date = "";
                fd = work->data;
-               gint done = FALSE;
+               gboolean done = FALSE;
 
                if (access_file(fd->path, R_OK | X_OK) && fd->name)
                        {
index bf3fd5f..e0839cf 100644 (file)
@@ -665,7 +665,7 @@ FileData *vdtree_populate_path(ViewDir *vd, FileData *target_fd, gint expand, gi
  *----------------------------------------------------------------------------
  */
 
-static gint selection_is_ok = FALSE;
+static gboolean selection_is_ok = FALSE;
 
 static gboolean vdtree_select_cb(GtkTreeSelection *selection, GtkTreeModel *store, GtkTreePath *tpath,
                                 gboolean path_currently_selected, gpointer data)
index 5fe1d4b..565c92e 100644 (file)
@@ -115,7 +115,7 @@ GList *vf_get_list(ViewFile *vf)
 static gint vf_press_key_cb(GtkWidget *widget, GdkEventKey *event, gpointer data)
 {
        ViewFile *vf = data;
-       gint ret = FALSE;
+       gboolean ret = FALSE;
 
        switch (vf->type)
        {
@@ -135,7 +135,7 @@ static gint vf_press_key_cb(GtkWidget *widget, GdkEventKey *event, gpointer data
 static gint vf_press_cb(GtkWidget *widget, GdkEventButton *bevent, gpointer data)
 {
        ViewFile *vf = data;
-       gint ret = FALSE;
+       gboolean ret = FALSE;
 
        switch (vf->type)
        {
@@ -149,7 +149,7 @@ static gint vf_press_cb(GtkWidget *widget, GdkEventButton *bevent, gpointer data
 static gint vf_release_cb(GtkWidget *widget, GdkEventButton *bevent, gpointer data)
 {
        ViewFile *vf = data;
-       gint ret = FALSE;
+       gboolean ret = FALSE;
 
        switch (vf->type)
        {
@@ -603,7 +603,7 @@ GtkWidget *vf_pop_menu(ViewFile *vf)
 
 gint vf_refresh(ViewFile *vf)
 {
-       gint ret = FALSE;
+       gboolean ret = FALSE;
 
        switch (vf->type)
        {
@@ -616,7 +616,7 @@ gint vf_refresh(ViewFile *vf)
 
 gint vf_set_fd(ViewFile *vf, FileData *dir_fd)
 {
-       gint ret = FALSE;
+       gboolean ret = FALSE;
 
        switch (vf->type)
        {
index 1161ef6..84c5011 100644 (file)
@@ -1962,7 +1962,7 @@ static gint vficon_thumb_next(ViewFile *vf)
                {
                GtkTreeModel *store;
                GtkTreeIter iter;
-               gint valid = TRUE;
+               gboolean valid = TRUE;
 
                store = gtk_tree_view_get_model(GTK_TREE_VIEW(vf->listview));
                gtk_tree_model_get_iter(store, &iter, tpath);
@@ -2162,7 +2162,7 @@ GList *vficon_get_list(ViewFile *vf)
 
 static gint vficon_refresh_real(ViewFile *vf, gint keep_position)
 {
-       gint ret = TRUE;
+       gboolean ret = TRUE;
        GList *work, *work_fd;
        IconData *focus_id;
        GList *new_filelist = NULL;
index 517ca92..fcd870c 100644 (file)
@@ -851,7 +851,7 @@ static void vflist_setup_iter_recursive(ViewFile *vf, GtkTreeStore *store, GtkTr
                {
                gint match;
                FileData *fd = work->data;
-               gint done = FALSE;
+               gboolean done = FALSE;
 
                while (!done)
                        {
@@ -1124,7 +1124,7 @@ static gint vflist_thumb_next(ViewFile *vf)
                {
                GtkTreeModel *store;
                GtkTreeIter iter;
-               gint valid = TRUE;
+               gboolean valid = TRUE;
 
                store = gtk_tree_view_get_model(GTK_TREE_VIEW(vf->listview));
                gtk_tree_model_get_iter(store, &iter, tpath);
@@ -1286,7 +1286,7 @@ static gint vflist_row_is_selected(ViewFile *vf, FileData *fd)
        GtkTreeSelection *selection;
        GList *slist;
        GList *work;
-       gint found = FALSE;
+       gboolean found = FALSE;
 
        selection = gtk_tree_view_get_selection(GTK_TREE_VIEW(vf->listview));
        slist = gtk_tree_selection_get_selected_rows(selection, &store);
@@ -1724,7 +1724,7 @@ static void vflist_populate_view(ViewFile *vf)
 gint vflist_refresh(ViewFile *vf)
 {
        GList *old_list;
-       gint ret = TRUE;
+       gboolean ret = TRUE;
 
        old_list = vf->list;
        vf->list = NULL;