# HG changeset patch # User zas_ # Date 1252311849 0 # Node ID 7f91f906f9c23104168ef50d9aa08a07c749af5b # Parent f5eb4241a8272ca68cd5da1dd80c7381a4c5451d Comment out unused functions, silenting related compilation warnings. diff -r f5eb4241a827 -r 7f91f906f9c2 src/bar_comment.c --- a/src/bar_comment.c Thu Sep 03 20:00:40 2009 +0000 +++ b/src/bar_comment.c Mon Sep 07 08:24:09 2009 +0000 @@ -189,7 +189,7 @@ 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 @@ gtk_widget_destroy(pcd->comment_view); } +#endif static void bar_pane_comment_destroy(GtkWidget *widget, gpointer data) { diff -r f5eb4241a827 -r 7f91f906f9c2 src/bar_histogram.c --- a/src/bar_histogram.c Thu Sep 03 20:00:40 2009 +0000 +++ b/src/bar_histogram.c Mon Sep 07 08:24:09 2009 +0000 @@ -171,6 +171,7 @@ bar_pane_histogram_update(phd); } +#if 0 static void bar_pane_histogram_close(GtkWidget *pane) { PaneHistogramData *phd; @@ -180,6 +181,7 @@ gtk_widget_destroy(phd->widget); } +#endif static void bar_pane_histogram_destroy(GtkWidget *widget, gpointer data) { diff -r f5eb4241a827 -r 7f91f906f9c2 src/bar_keywords.c --- a/src/bar_keywords.c Thu Sep 03 20:00:40 2009 +0000 +++ b/src/bar_keywords.c Mon Sep 07 08:24:09 2009 +0000 @@ -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 @@ 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 @@ 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 @@ bar_keyword_tree_sync(pkd); } } +#endif static void bar_pane_keywords_update(PaneKeywordsData *pkd) { diff -r f5eb4241a827 -r 7f91f906f9c2 src/image-overlay.c --- a/src/image-overlay.c Thu Sep 03 20:00:40 2009 +0000 +++ b/src/image-overlay.c Mon Sep 07 08:24:09 2009 +0000 @@ -1002,12 +1002,14 @@ 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) { diff -r f5eb4241a827 -r 7f91f906f9c2 src/view_file_list.c --- a/src/view_file_list.c Thu Sep 03 20:00:40 2009 +0000 +++ b/src/view_file_list.c Mon Sep 07 08:24:09 2009 +0000 @@ -219,7 +219,7 @@ gtk_tree_path_free(tpath); } - +#if 0 static gint vflist_column_idx(ViewFile *vf, gint store_idx) { GList *columns, *work; @@ -239,7 +239,7 @@ g_list_free(columns); return i; } - +#endif /* *-----------------------------------------------------------------------------