Remove commented out code.
authorLaurent Monin <zas@norz.org>
Thu, 30 Aug 2012 13:53:28 +0000 (15:53 +0200)
committerLaurent Monin <zas@norz.org>
Thu, 30 Aug 2012 13:53:28 +0000 (15:53 +0200)
src/bar_keywords.c

index 257915e..af903c8 100644 (file)
@@ -129,8 +129,6 @@ struct _ConfDialogData
        gboolean edit_existing;
 };
 
-//static GList *bar_list = NULL;
-
 
 static void bar_pane_keywords_write(PaneKeywordsData *pkd)
 {
@@ -194,25 +192,6 @@ 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;
-
-       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 @@ static void bar_pane_keywords_keyword_toggle(GtkCellRendererToggle *toggle, cons
 
        /* 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)