Skip to content

Commit

Permalink
Remove commented out code.
Browse files Browse the repository at this point in the history
  • Loading branch information
zas committed Aug 30, 2012
1 parent 6914416 commit 998be83
Showing 1 changed file with 0 additions and 28 deletions.
28 changes: 0 additions & 28 deletions src/view_dir_tree.c
Original file line number Diff line number Diff line change
Expand Up @@ -307,27 +307,6 @@ static GList *parts_list_add_node_points(ViewDir *vd, GList *list)
return list;
}

/*
*----------------------------------------------------------------------------
* misc
*----------------------------------------------------------------------------
*/

#if 0
static void vdtree_row_deleted_cb(GtkTreeModel *tree_model, GtkTreePath *tpath, gpointer data)
{
GtkTreeIter iter;
NodeData *nd;

gtk_tree_model_get_iter(tree_model, &iter, tpath);
gtk_tree_model_get(tree_model, &iter, DIR_COLUMN_POINTER, &nd, -1);

if (!nd) return;

file_data_unref(nd->fd);
g_free(nd);
}
#endif

/*
*----------------------------------------------------------------------------
Expand Down Expand Up @@ -732,13 +711,6 @@ gboolean vdtree_set_fd(ViewDir *vd, FileData *dir_fd)
return TRUE;
}

#if 0
const gchar *vdtree_get_path(ViewDir *vd)
{
return vd->path;
}
#endif

void vdtree_refresh(ViewDir *vd)
{
vdtree_populate_path(vd, vd->dir_fd, FALSE, TRUE);
Expand Down

0 comments on commit 998be83

Please sign in to comment.