diff src/utilops.c @ 1452:67b40740122e

gint -> gboolean where applicable.
author zas_
date Mon, 16 Mar 2009 19:11:39 +0000
parents 03384485676d
children 24a12aa0cb54
line wrap: on
line diff
--- a/src/utilops.c	Mon Mar 16 18:19:11 2009 +0000
+++ b/src/utilops.c	Mon Mar 16 19:11:39 2009 +0000
@@ -47,7 +47,7 @@
 static void generic_dialog_add_image(GenericDialog *gd, GtkWidget *box,
 				     FileData *fd1, const gchar *header1,
 				     FileData *fd2, const gchar *header2,
-				     gint show_filename)
+				     gboolean show_filename)
 {
 	ImageWindow *imd;
 	GtkWidget *hbox = NULL;
@@ -154,7 +154,7 @@
 
 GenericDialog *file_util_gen_dlg(const gchar *title,
 				 const gchar *role,
-				 GtkWidget *parent, gint auto_close,
+				 GtkWidget *parent, gboolean auto_close,
 				 void (*cancel_cb)(GenericDialog *, gpointer), gpointer data)
 {
 	GenericDialog *gd;
@@ -411,7 +411,7 @@
 		}
 }
 
-static GtkWidget *file_util_dialog_add_list(GtkWidget *box, GList *list, gint full_paths, gboolean with_sidecars)
+static GtkWidget *file_util_dialog_add_list(GtkWidget *box, GList *list, gboolean full_paths, gboolean with_sidecars)
 {
 	GtkWidget *scrolled;
 	GtkWidget *view;
@@ -1131,7 +1131,7 @@
 	const gchar *front;
 	const gchar *end;
 	const gchar *format;
-	gint valid;
+	gboolean valid;
 	gint start_n;
 	gint padding;
 	gint n;
@@ -1231,7 +1231,7 @@
 }
 
 static void file_util_rename_preview_order_cb(GtkTreeModel *treemodel, GtkTreePath *tpath,
-						       GtkTreeIter *iter, gpointer data)
+					      GtkTreeIter *iter, gpointer data)
 {
 	UtilityData *ud = data;
 
@@ -1242,8 +1242,8 @@
 
 
 static gboolean file_util_preview_cb(GtkTreeSelection *selection, GtkTreeModel *store,
-						GtkTreePath *tpath, gboolean path_currently_selected,
-						gpointer data)
+				     GtkTreePath *tpath, gboolean path_currently_selected,
+				     gpointer data)
 {
 	UtilityData *ud = data;
 	GtkTreeIter iter;
@@ -1385,7 +1385,7 @@
 }
 
 
-static GtkWidget *furm_simple_vlabel(GtkWidget *box, const gchar *text, gint expand)
+static GtkWidget *furm_simple_vlabel(GtkWidget *box, const gchar *text, gboolean expand)
 {
 	GtkWidget *vbox;
 	GtkWidget *label;
@@ -1740,6 +1740,7 @@
 
 	file_util_dialog_run(ud);
 }
+
 static void file_util_copy_full(FileData *source_fd, GList *source_list, const gchar *dest_path, GtkWidget *parent, UtilityPhase phase)
 {
 	UtilityData *ud;