diff --git a/pd/src/g_canvas.c b/pd/src/g_canvas.c index 00cb8c93d8fec11e10074c66682756c512f6bdba..787f14c9f3cca588dbfb85e952f3ae74c19f96dc 100644 --- a/pd/src/g_canvas.c +++ b/pd/src/g_canvas.c @@ -2520,7 +2520,7 @@ extern void glist_scalar(t_glist *canvas, t_symbol *s, int argc, t_atom *argv); void g_graph_setup(void); void g_editor_setup(void); void g_readwrite_setup(void); -extern void canvas_properties(t_gobj *z); +extern void canvas_properties(t_gobj *z, t_glist *dummy); void g_canvas_setup(void) { diff --git a/pd/src/g_editor.c b/pd/src/g_editor.c index f22c8db010dd58218c0c27cd1ad7d05c07d5891b..abc88940fb967596d3aabf5123b98d850969077c 100644 --- a/pd/src/g_editor.c +++ b/pd/src/g_editor.c @@ -2652,8 +2652,9 @@ int garray_properties(t_garray *x, t_symbol **gfxstubp, t_symbol **namep, /* tell GUI to create a properties dialog on the canvas. We tell the user the negative of the "pixel" y scale to make it appear to grow naturally upward, whereas pixels grow downward. */ -void canvas_properties(t_glist *x) +void canvas_properties(t_gobj *z, t_glist *dummy) { + t_glist *x = (t_glist *)z; t_gobj *y; //char graphbuf[200]; char *gfx_tag; @@ -3124,7 +3125,7 @@ void canvas_done_popup(t_canvas *x, t_float which, t_float xpos, { if (!x->gl_edit) canvas_editmode(x, 1); - canvas_properties(x); + canvas_properties((t_gobj *)x, x); } else if (which == 2) open_via_helppath("intro.pd", canvas_getdir((t_canvas *)x)->s_name);