diff --git a/pd/src/g_array.c b/pd/src/g_array.c
index 385b8d3188e5c9ab83b55e1db41b468d941f98e3..929563a7faa4900015ad0c946683b7f19f0f31dd 100644
--- a/pd/src/g_array.c
+++ b/pd/src/g_array.c
@@ -1351,8 +1351,10 @@ static void garray_select(t_gobj *z, t_glist *glist, int state)
 {
     //fprintf(stderr,">>>>>>>>>>>>garray_select %d\n", state);
     t_garray *x = (t_garray *)z;
-    sys_vgui("pdtk_select_all_gop_widgets .x%lx %lx %d\n",
-        glist_getcanvas(glist), x->x_glist, state);
+    /* There's no replacement for the following command in the
+       new GUI, but it looks like it's not needed anymore. */
+    //sys_vgui("pdtk_select_all_gop_widgets .x%lx %lx %d\n",
+    //    glist_getcanvas(glist), x->x_glist, state);
 
     scalar_select((t_gobj *)x->x_scalar, glist, state);
 }