diff --git a/pd/src/g_canvas.c b/pd/src/g_canvas.c
index 47b5ebfcd446dca1ebdeea6dff22508db1ee8c5b..7ab08a28f47014d320bb98405f19a2fe3d650f20 100644
--- a/pd/src/g_canvas.c
+++ b/pd/src/g_canvas.c
@@ -2516,7 +2516,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 1dbcad0b6468e50b2e63b971aff515a98fedf5af..7b2fb94b95ebc39e0e316c658be51385f95b6e1e 100644
--- a/pd/src/g_editor.c
+++ b/pd/src/g_editor.c
@@ -2650,8 +2650,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;
@@ -3122,7 +3123,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);