diff options
author | Christian Grothoff <christian@grothoff.org> | 2008-06-10 19:15:07 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2008-06-10 19:15:07 +0000 |
commit | f1d3d96cc92953eeb6fd7f4821844bdf18eef984 (patch) | |
tree | 30ecd63e81212182bc49306219336accbf4a5b00 /src/plugins/fs/search.c | |
parent | 8b8ec628afa5b73a121bad65caac84d1dbc317db (diff) | |
download | gnunet-gtk-f1d3d96cc92953eeb6fd7f4821844bdf18eef984.tar.gz gnunet-gtk-f1d3d96cc92953eeb6fd7f4821844bdf18eef984.zip |
fixes
Diffstat (limited to 'src/plugins/fs/search.c')
-rw-r--r-- | src/plugins/fs/search.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/plugins/fs/search.c b/src/plugins/fs/search.c index ab78d844..ce3c5bcf 100644 --- a/src/plugins/fs/search.c +++ b/src/plugins/fs/search.c | |||
@@ -955,6 +955,7 @@ fs_search_restarted (SearchList * list) | |||
955 | void | 955 | void |
956 | fs_search_stopped (SearchList * list) | 956 | fs_search_stopped (SearchList * list) |
957 | { | 957 | { |
958 | GtkTreeIter iter; | ||
958 | GtkNotebook *notebook; | 959 | GtkNotebook *notebook; |
959 | SearchList *prev; | 960 | SearchList *prev; |
960 | DownloadList *downloads; | 961 | DownloadList *downloads; |
@@ -998,6 +999,8 @@ fs_search_stopped (SearchList * list) | |||
998 | index = i; | 999 | index = i; |
999 | GNUNET_GE_BREAK (ectx, index != -1); | 1000 | GNUNET_GE_BREAK (ectx, index != -1); |
1000 | gtk_notebook_remove_page (notebook, index); | 1001 | gtk_notebook_remove_page (notebook, index); |
1002 | if (gtk_tree_model_get_iter_first (GTK_TREE_MODEL (list->tree), &iter)) | ||
1003 | freeIterSubtree (GTK_TREE_MODEL (list->tree), &iter); | ||
1001 | /* free list state itself */ | 1004 | /* free list state itself */ |
1002 | UNREF (list->searchXML); | 1005 | UNREF (list->searchXML); |
1003 | UNREF (list->labelXML); | 1006 | UNREF (list->labelXML); |