diff options
author | Anton Khirnov <wyskas@gmail.com> | 2009-07-07 19:35:54 +0200 |
---|---|---|
committer | Uoti Urpala <uau@glyph.nonexistent.invalid> | 2009-07-07 21:49:42 +0300 |
commit | 87366694d82c8d4c7f0bc210e6baa0ccd651d0c2 (patch) | |
tree | 57c6a283eed4934c6041658effab17435ef2ff1c /playtree.c | |
parent | a2037a2effbd4622d0e8336245a9b14c3f886bde (diff) | |
download | mpv-87366694d82c8d4c7f0bc210e6baa0ccd651d0c2.tar.bz2 mpv-87366694d82c8d4c7f0bc210e6baa0ccd651d0c2.tar.xz |
Remove the internal GUI
The GUI is badly designed and too closely coupled to the internal
details of other code. The GUI code is in bad shape and unmaintained
for years. There is no indication that anyone would maintain it in the
future either. Even if someone did volunteer to implement a better
integrated GUI having the current code in the tree probably wouldn't
help much. So get rid of it.
Diffstat (limited to 'playtree.c')
-rw-r--r-- | playtree.c | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/playtree.c b/playtree.c index 5c629eadaa..3a4957720b 100644 --- a/playtree.c +++ b/playtree.c @@ -946,20 +946,6 @@ void pt_add_file(play_tree_t** ppt, char* filename) play_tree_set_params_from(entry,pt); } -void pt_add_gui_file(play_tree_t** ppt, char* path, char* file) -{ - char* wholename = malloc(strlen(path)+strlen(file)+2); - - if (wholename) - { - strcpy(wholename, path); - strcat(wholename, "/"); - strcat(wholename, file); - pt_add_file(ppt, wholename); - free(wholename); // As pt_add_file strdups it anyway! - } -} - void pt_iter_goto_head(play_tree_iter_t* iter) { iter->tree=iter->root; |