diff src/typedefs.h @ 1453:bc3f5c0432f6

gint -> gboolean where applicable. The end (ouf!).
author zas_
date Mon, 16 Mar 2009 20:39:09 +0000
parents a6f9ba6fd751
children 25168240a247
line wrap: on
line diff
--- a/src/typedefs.h	Mon Mar 16 19:11:39 2009 +0000
+++ b/src/typedefs.h	Mon Mar 16 20:39:09 2009 +0000
@@ -470,7 +470,7 @@
 
 	gint ref;
 	gint version; /* increased when any field in this structure is changed */
-	gint disable_grouping;
+	gboolean disable_grouping;
 
 	gint user_orientation;
 	gint exif_orientation;
@@ -605,7 +605,7 @@
 	GtkWidget *file_view;
 
 	SortType sort_method;
-	gint sort_ascend;
+	gboolean sort_ascend;
 
 	/* status bar */
 
@@ -708,7 +708,7 @@
 	GList *list;
 
 	SortType sort_method;
-	gint sort_ascend;
+	gboolean sort_ascend;
 
 	/* func list */
 	void (*func_thumb_status)(ViewFile *vf, gdouble val, const gchar *text, gpointer data);
@@ -722,12 +722,12 @@
 	GtkWidget *popup;
 
 	/* thumbs updates*/
-	gint thumbs_running;
+	gboolean thumbs_running;
 	ThumbLoader *thumbs_loader;
 	FileData *thumbs_filedata;
 
 	/* marks */
-	gint marks_enabled;
+	gboolean marks_enabled;
 	gint active_mark;
 	gint clicked_mark;
 	
@@ -743,7 +743,7 @@
 	FileData *click_fd;
 	FileData *select_fd;
 
-	gint thumbs_enabled;
+	gboolean thumbs_enabled;
 
 	gint select_idle_id;
 };
@@ -769,7 +769,7 @@
 	gint focus_row;
 	gint focus_column;
 
-	gint show_text;
+	gboolean show_text;
 };
 
 struct _SlideShowData
@@ -789,7 +789,7 @@
 	guint slide_count;
 	gint timeout_id;
 
-	gint from_selection;
+	gboolean from_selection;
 
 	void (*stop_func)(SlideShowData *, gpointer);
 	gpointer stop_data;