changeset 2146:b12ca1a780f8

Remove commented out code.
author Laurent Monin <zas@norz.org>
date Thu, 30 Aug 2012 15:53:28 +0200
parents 43518c2f7c7f
children 88b690adff92
files src/bar_keywords.c
diffstat 1 files changed, 0 insertions(+), 25 deletions(-) [+]
line wrap: on
line diff
--- a/src/bar_keywords.c	Thu Aug 30 15:53:28 2012 +0200
+++ b/src/bar_keywords.c	Thu Aug 30 15:53:28 2012 +0200
@@ -129,8 +129,6 @@
 	gboolean edit_existing;
 };
 
-//static GList *bar_list = NULL;
-
 
 static void bar_pane_keywords_write(PaneKeywordsData *pkd)
 {
@@ -194,25 +192,6 @@
 	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;
-
-	work = bar_list;
-	while (work)
-		{
-		PaneKeywordsData *pkd;
-//		GList *keywords;
-
-		pkd = work->data;
-		work = work->next;
-
-		bar_keyword_tree_sync(pkd);
-		}
-}
-#endif
-
 static void bar_pane_keywords_update(PaneKeywordsData *pkd)
 {
 	GList *keywords = NULL;
@@ -324,10 +303,6 @@
 
 	/* call this just once in the end */
 	bar_pane_keywords_changed(keyword_buffer, pkd);
-	/*
-	  bar_pane_keywords_change calls bar_keyword_tree_sync, no need to do it again
-	bar_keyword_tree_sync(pkd);
-	*/
 }
 
 void bar_pane_keywords_filter_modify(GtkTreeModel *model, GtkTreeIter *iter, GValue *value, gint column, gpointer data)