gedit r6321 - in trunk: . plugins/filebrowser
- From: jessevdk svn gnome org
- To: svn-commits-list gnome org
- Subject: gedit r6321 - in trunk: . plugins/filebrowser
- Date: Wed, 11 Jun 2008 08:29:59 +0000 (UTC)
Author: jessevdk
Date: Wed Jun 11 08:29:59 2008
New Revision: 6321
URL: http://svn.gnome.org/viewvc/gedit?rev=6321&view=rev
Log:
* plugins/filebrowser/gedit-file-browser-store.c: removed another
obsolete funtion: print_tree
Modified:
trunk/ChangeLog
trunk/plugins/filebrowser/gedit-file-browser-store.c
Modified: trunk/plugins/filebrowser/gedit-file-browser-store.c
==============================================================================
--- trunk/plugins/filebrowser/gedit-file-browser-store.c (original)
+++ trunk/plugins/filebrowser/gedit-file-browser-store.c Wed Jun 11 08:29:59 2008
@@ -173,9 +173,6 @@
gboolean free_nodes);
static gint model_sort_default (FileBrowserNode * node1,
FileBrowserNode * node2);
-static void print_tree (GeditFileBrowserStore * model,
- FileBrowserNode * parent,
- gchar * prefix);
static void model_check_dummy (GeditFileBrowserStore * model,
FileBrowserNode * node);
static void next_files_async (GFileEnumerator * enumerator,
@@ -2268,40 +2265,6 @@
}
static void
-print_tree (GeditFileBrowserStore * model, FileBrowserNode * parent,
- gchar * prefix)
-{
- GSList *item;
- gchar *newpref;
-
- if (parent == NULL)
- parent = model->priv->root;
-
- if (parent == NULL)
- return;
-
- if (prefix == NULL)
- prefix = "";
-
- g_message ("%s - %s (%d), loaded: %d", prefix, parent->name,
- model_node_visibility (model, parent),
- NODE_LOADED (parent));
-
- if (NODE_IS_DIR (parent)) {
- newpref = g_strdup_printf ("\t%s", prefix);
-
- for (item = FILE_BROWSER_NODE_DIR (parent)->children; item;
- item = item->next) {
- print_tree (model,
- (FileBrowserNode *) (item->data),
- newpref);
- }
-
- g_free (newpref);
- }
-}
-
-static void
set_virtual_root_from_node (GeditFileBrowserStore * model,
FileBrowserNode * node)
{
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]