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 /scratcher~ | |
parent | e9473e64c1902092d0798e97e0eadbc123c68195 (diff) |
merged relevant changes from Pd-extended 0.42
svn path=/trunk/externals/unauthorized/; revision=14153
Diffstat (limited to 'scratcher~')
-rw-r--r-- | scratcher~/scratcher~.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scratcher~/scratcher~.c b/scratcher~/scratcher~.c index b988206..6adba91 100644 --- a/scratcher~/scratcher~.c +++ b/scratcher~/scratcher~.c @@ -314,7 +314,7 @@ static void scratcher_vis(t_gobj *z, t_glist *glist, int vis) static void scratcher_delete(t_gobj *z, t_glist *glist) { - canvas_deletelinesfor( glist_getcanvas(glist), (t_text *)z); + canvas_deletelinesfor(glist, (t_text *)z); } static void scratcher_displace(t_gobj *z, t_glist *glist, int dx, int dy) @@ -783,7 +783,7 @@ void scratcher_tilde_setup(void) #include "scratcher~.tk2c" scratcher_class = class_new(gensym("scratcher~"), (t_newmethod)scratcher_new, (t_method)scratcher_free, sizeof(t_scratcher), 0, A_GIMME, 0); - class_sethelpsymbol( scratcher_class, gensym("scratcher~.pd") ); + // set callbacks scratcher_widgetbehavior.w_getrectfn = scratcher_getrect; |