chiark
/
gitweb
/
~mdw
/
disorder
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
36a7f47
)
Quieten gcc 4.3
author
Richard Kettlewell
<rjk@greenend.org.uk>
Sun, 8 Jun 2008 13:13:52 +0000
(14:13 +0100)
committer
Richard Kettlewell
<rjk@greenend.org.uk>
Sun, 8 Jun 2008 13:13:52 +0000
(14:13 +0100)
disobedience/choose.c
patch
|
blob
|
blame
|
history
diff --git
a/disobedience/choose.c
b/disobedience/choose.c
index 6658a45362f6720e5ea717f26f110525089c0417..7c37d444ae9f408e462ba62d288e2bff5c4b6231 100644
(file)
--- a/
disobedience/choose.c
+++ b/
disobedience/choose.c
@@
-230,7
+230,6
@@
static void redisplay_tree(const char *why);
static struct displaydata display_tree(struct choosenode *cn, int x, int y);
static void undisplay_tree(struct choosenode *cn);
static void initiate_search(void);
static struct displaydata display_tree(struct choosenode *cn, int x, int y);
static void undisplay_tree(struct choosenode *cn);
static void initiate_search(void);
-static void delete_widgets(struct choosenode *cn);
static void expand_from(struct choosenode *cn);
static struct choosenode *first_search_result(struct choosenode *cn);
static void expand_from(struct choosenode *cn);
static struct choosenode *first_search_result(struct choosenode *cn);
@@
-828,17
+827,6
@@
static void prev_clicked(GtkButton attribute((unused)) *button,
/* Display functions ------------------------------------------------------- */
/* Display functions ------------------------------------------------------- */
-/** @brief Delete all the widgets in the tree */
-static void delete_widgets(struct choosenode *cn) {
- int n;
-
- delete_cn_widgets(cn);
- for(n = 0; n < cn->children.nvec; ++n)
- delete_widgets(cn->children.vec[n]);
- cn->flags &= ~(CN_DISPLAYED|CN_SELECTED);
- files_selected = 0;
-}
-
/** @brief Update the display */
static void redisplay_tree(const char *why) {
struct displaydata d;
/** @brief Update the display */
static void redisplay_tree(const char *why) {
struct displaydata d;