Mercurial > geeqie.yaz
changeset 1712:7f91f906f9c2
Comment out unused functions, silenting related compilation warnings.
author | zas_ |
---|---|
date | Mon, 07 Sep 2009 08:24:09 +0000 |
parents | f5eb4241a827 |
children | 30d649102a9f |
files | src/bar_comment.c src/bar_histogram.c src/bar_keywords.c src/image-overlay.c src/view_file_list.c |
diffstat | 5 files changed, 12 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- 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) {
--- 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) {
--- 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) {
--- 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) {
--- 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 /* *-----------------------------------------------------------------------------