diff options
author | Hans-Christoph Steiner <eighthave@users.sourceforge.net> | 2010-09-17 17:11:34 +0000 |
---|---|---|
committer | Hans-Christoph Steiner <eighthave@users.sourceforge.net> | 2010-09-17 17:11:34 +0000 |
commit | 606bb9189e1abd574c299ac84e738d68cefb21f2 (patch) | |
tree | 806ee0dc4d087540063d901a8f0b010ebd23b97b /playlist | |
parent | e9473e64c1902092d0798e97e0eadbc123c68195 (diff) |
merged relevant changes from Pd-extended 0.42
svn path=/trunk/externals/unauthorized/; revision=14153
Diffstat (limited to 'playlist')
-rw-r--r-- | playlist/playlist.c | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/playlist/playlist.c b/playlist/playlist.c index 12a5744..fce68a8 100644 --- a/playlist/playlist.c +++ b/playlist/playlist.c @@ -42,7 +42,7 @@ #include "g_canvas.h" -#ifdef NT +#ifdef _WIN32 #include <io.h> #else #include <unistd.h> @@ -422,7 +422,6 @@ static void playlist_select(t_gobj *z, t_glist *glist, int selected) static void playlist_vis(t_gobj *z, t_glist *glist, int vis) { t_playlist *x = (t_playlist *)z; - t_rtext *y; x->x_glist = glist; if (vis) @@ -437,9 +436,7 @@ static void playlist_vis(t_gobj *z, t_glist *glist, int vis) static void playlist_delete(t_gobj *z, t_glist *glist) { - t_playlist *x = (t_playlist *)z; - - canvas_deletelinesfor( glist_getcanvas(glist), (t_text *)z); + canvas_deletelinesfor(glist, (t_text *)z); } static void playlist_displace(t_gobj *z, t_glist *glist, int dx, int dy) @@ -1016,5 +1013,5 @@ void playlist_setup(void) #endif class_setwidget(playlist_class, &playlist_widgetbehavior); - class_sethelpsymbol(playlist_class, gensym("playlist.pd")); + } |