Comment out unused functions, silenting related compilation warnings.
authorLaurent Monin <geeqie@norz.org>
Mon, 7 Sep 2009 08:24:09 +0000 (08:24 +0000)
committerLaurent Monin <geeqie@norz.org>
Mon, 7 Sep 2009 08:24:09 +0000 (08:24 +0000)
src/bar_comment.c
src/bar_histogram.c
src/bar_keywords.c
src/image-overlay.c
src/view_file_list.c

index 4aabdc5..c0fe6fe 100644 (file)
@@ -189,7 +189,7 @@ static void bar_pane_comment_populate_popup(GtkTextView *textview, GtkMenu *menu
        menu_item_add_stock(GTK_WIDGET(menu), _("Replace existing text in selected files"), GTK_STOCK_CONVERT, G_CALLBACK(bar_pane_comment_sel_replace_cb), data);
 }
 
-
+#if 0
 static void bar_pane_comment_close(GtkWidget *bar)
 {
        PaneCommentData *pcd;
@@ -199,6 +199,7 @@ static void bar_pane_comment_close(GtkWidget *bar)
 
        gtk_widget_destroy(pcd->comment_view);
 }
+#endif
 
 static void bar_pane_comment_destroy(GtkWidget *widget, gpointer data)
 {
index 6887258..544d975 100644 (file)
@@ -171,6 +171,7 @@ static void bar_pane_histogram_size_cb(GtkWidget *widget, GtkAllocation *allocat
        bar_pane_histogram_update(phd);
 }
 
+#if 0
 static void bar_pane_histogram_close(GtkWidget *pane)
 {
        PaneHistogramData *phd;
@@ -180,6 +181,7 @@ static void bar_pane_histogram_close(GtkWidget *pane)
 
        gtk_widget_destroy(phd->widget);
 }
+#endif
 
 static void bar_pane_histogram_destroy(GtkWidget *widget, gpointer data)
 {
index 497ddcf..e615040 100644 (file)
@@ -30,7 +30,7 @@
 #include "dnd.h"
 
 
-static void bar_pane_keywords_keyword_update_all(void);
+//static void bar_pane_keywords_keyword_update_all(void);
 static void bar_pane_keywords_changed(GtkTextBuffer *buffer, gpointer data);
 
 /*
@@ -129,7 +129,7 @@ struct _ConfDialogData
        gboolean edit_existing;
 };
 
-static GList *bar_list = NULL;
+//static GList *bar_list = NULL;
 
 
 static void bar_pane_keywords_write(PaneKeywordsData *pkd)
@@ -194,6 +194,7 @@ static void bar_keyword_tree_sync(PaneKeywordsData *pkd)
        if (pkd->collapse_unchecked) gtk_tree_model_foreach(model, bar_keyword_tree_collapse_if_unset_cb, pkd);
 }
 
+#if 0
 static void bar_pane_keywords_keyword_update_all(void)
 {
        GList *work;
@@ -210,6 +211,7 @@ static void bar_pane_keywords_keyword_update_all(void)
                bar_keyword_tree_sync(pkd);
                }
 }
+#endif
 
 static void bar_pane_keywords_update(PaneKeywordsData *pkd)
 {
index ff6ee83..769ccf6 100644 (file)
@@ -1040,12 +1040,14 @@ static void image_osd_free(OverlayStateData *osd)
        g_free(osd);
 }
 
+#if 0
 static void image_osd_remove(ImageWindow *imd)
 {
        OverlayStateData *osd = image_get_osd_data(imd);
 
        if (osd) image_osd_free(osd);
 }
+#endif
 
 static void image_osd_destroy_cb(GtkWidget *widget, gpointer data)
 {
index d8ca134..4bd4506 100644 (file)
@@ -219,7 +219,7 @@ static void vflist_move_cursor(ViewFile *vf, GtkTreeIter *iter)
        gtk_tree_path_free(tpath);
 }
 
-
+#if 0
 static gint vflist_column_idx(ViewFile *vf, gint store_idx)
 {
        GList *columns, *work;
@@ -239,7 +239,7 @@ static gint vflist_column_idx(ViewFile *vf, gint store_idx)
        g_list_free(columns);
        return i;
 }
-
+#endif
 
 /*
  *-----------------------------------------------------------------------------