Remove commented out code.
[geeqie.git] / src / similar.c
index 54c40ac..52ff7fd 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * Geeqie
  * (C) 2004 John Ellis
- * Copyright (C) 2008 The Geeqie Team
+ * Copyright (C) 2008 - 2012 The Geeqie Team
  *
  * Author: John Ellis
  *
  * improve the result, and hopes to reduce false positives.
  */
 
-static gint alternate_enabled = FALSE;
+static gboolean alternate_enabled = FALSE;
 
-void image_sim_alternate_set(gint enable)
+void image_sim_alternate_set(gboolean enable)
 {
        alternate_enabled = enable;
 }
 
-gint image_sim_alternate_enabled(void)
+gboolean image_sim_alternate_enabled(void)
 {
        return alternate_enabled;
 }
@@ -174,7 +174,7 @@ void image_sim_fill_data(ImageSimilarityData *sd, GdkPixbuf *pixbuf)
        gint w, h;
        gint rs;
        guchar *pix;
-       gint has_alpha;
+       gboolean has_alpha;
        gint p_step;
 
        guchar *p;
@@ -183,8 +183,8 @@ void image_sim_fill_data(ImageSimilarityData *sd, GdkPixbuf *pixbuf)
        gint x_inc, y_inc, xy_inc;
        gint xs, ys;
 
-       gint x_small = FALSE;   /* if less than 32 w or h, set TRUE */
-       gint y_small = FALSE;
+       gboolean x_small = FALSE;       /* if less than 32 w or h, set TRUE */
+       gboolean y_small = FALSE;
 
        if (!sd || !pixbuf) return;