1
1

1999-02-07 Miguel de Icaza <miguel@nuclecu.unam.mx>

* treestore.c (tree_store_notify_add): Close, but no cigar.  The
	bug was deeper:  This list keeps names, not tree_entries.
Этот коммит содержится в:
Miguel de Icaza 1999-02-07 07:09:15 +00:00
родитель faa8560535
Коммит 3171176505
3 изменённых файлов: 8 добавлений и 3 удалений

Просмотреть файл

@ -1,3 +1,8 @@
1999-02-07 Miguel de Icaza <miguel@nuclecu.unam.mx>
* treestore.c (tree_store_notify_add): Close, but no cigar. The
bug was deeper: This list keeps names, not tree_entries.
1999-02-07 Federico Mena Quintero <federico@nuclecu.unam.mx>
* treestore.c (tree_store_notify_add): A tree_store_add_fn wants a

Просмотреть файл

@ -762,14 +762,14 @@ tree_store_remove_entry_add_hook (tree_store_add_fn callback)
}
void
tree_store_notify_add (tree_entry *entry)
tree_store_notify_add (char *directory)
{
Hook *p = add_entry_hooks;
tree_store_add_fn r;
while (p) {
r = (tree_store_add_fn) p->hook_fn;
r (entry->name, p->hook_data);
r (directory, p->hook_data);
p = p->next;
}
}

Просмотреть файл

@ -65,7 +65,7 @@ void tree_store_remove_entry_add_hook (tree_store_add_fn callback);
* Changes in the tree_entry are notified with these
*/
void tree_store_notify_remove (tree_entry *entry);
void tree_store_notify_add (tree_entry *entry);
void tree_store_notify_add (char *directory);
tree_scan *tree_store_opendir (char *path);
tree_entry *tree_store_readdir (tree_scan *scanner);