From b8e6a5034eb1d0a98b2b7185f817c0086128efbd Mon Sep 17 00:00:00 2001
From: Mathieu L Bouchard <matju@artengine.ca>
Date: Tue, 5 Aug 2014 00:37:29 -0400
Subject: [PATCH] remove old commented-out code

---
 pd/src/g_bang.c     |  9 ---------
 pd/src/g_hdial.c    | 12 ------------
 pd/src/g_hslider.c  |  9 ---------
 pd/src/g_mycanvas.c |  3 ---
 4 files changed, 33 deletions(-)

diff --git a/pd/src/g_bang.c b/pd/src/g_bang.c
index e4a04ea30..38e1624da 100644
--- a/pd/src/g_bang.c
+++ b/pd/src/g_bang.c
@@ -158,15 +158,6 @@ void bng_draw_erase(t_bng* x, t_glist* glist)
     sys_vgui(".x%lx.c delete %lxBNG\n", canvas, x);
     sys_vgui(".x%lx.c dtag all %lxBNG\n", canvas, x);
     scalehandle_draw_erase2(&x->x_gui,glist);
-/*
-    sys_vgui(".x%lx.c delete %lxBASE\n", canvas, x);
-    sys_vgui(".x%lx.c delete %lxBUT\n", canvas, x);
-    sys_vgui(".x%lx.c delete %lxLABEL\n", canvas, x);
-    if(!x->x_gui.x_fsf.x_snd_able)
-        sys_vgui(".x%lx.c delete %so%d\n", canvas, rtext_gettag(yy), 0);
-    if(!x->x_gui.x_fsf.x_rcv_able)
-        sys_vgui(".x%lx.c delete %si%d\n", canvas, rtext_gettag(yy), 0);
-*/
 }
 
 void bng_draw_config(t_bng* x, t_glist* glist)
diff --git a/pd/src/g_hdial.c b/pd/src/g_hdial.c
index f51bc02f0..563de7e1e 100644
--- a/pd/src/g_hdial.c
+++ b/pd/src/g_hdial.c
@@ -161,18 +161,6 @@ void hradio_draw_erase(t_hradio* x, t_glist* glist)
     sys_vgui(".x%lx.c delete %lxHRDO\n", canvas, x);
     sys_vgui(".x%lx.c dtag all %lxHRDO\n", canvas, x);
     scalehandle_draw_erase2(&x->x_gui,glist);
-/*
-    for(i=0; i<n; i++)
-    {
-        sys_vgui(".x%lx.c delete %lxBASE%d\n", canvas, x, i);
-        sys_vgui(".x%lx.c delete %lxBUT%d\n", canvas, x, i);
-    }
-    sys_vgui(".x%lx.c delete %lxLABEL\n", canvas, x);
-    if(!x->x_gui.x_fsf.x_snd_able)
-        sys_vgui(".x%lx.c delete %so%d\n", canvas, rtext_gettag(yy), 0);
-    if(!x->x_gui.x_fsf.x_rcv_able)
-    sys_vgui(".x%lx.c delete %si%d\n", canvas, rtext_gettag(yy), 0);
-*/
 }
 
 void hradio_draw_config(t_hradio* x, t_glist* glist)
diff --git a/pd/src/g_hslider.c b/pd/src/g_hslider.c
index 6bbdbe175..d9721616d 100644
--- a/pd/src/g_hslider.c
+++ b/pd/src/g_hslider.c
@@ -166,15 +166,6 @@ static void hslider_draw_erase(t_hslider* x,t_glist* glist)
     sys_vgui(".x%lx.c delete %lxHSLDR\n", canvas, x);
     sys_vgui(".x%lx.c dtag all %lxHSLDR\n", canvas, x);
     scalehandle_draw_erase2(&x->x_gui,glist);
-/*
-    sys_vgui(".x%lx.c delete %lxBASE\n", canvas, x);
-    sys_vgui(".x%lx.c delete %lxKNOB\n", canvas, x);
-    sys_vgui(".x%lx.c delete %lxLABEL\n", canvas, x);
-    if(!x->x_gui.x_fsf.x_snd_able)
-        sys_vgui(".x%lx.c delete %lxOUT%d\n", canvas, x, 0);
-    if(!x->x_gui.x_fsf.x_rcv_able)
-        sys_vgui(".x%lx.c delete %lxIN%d\n", canvas, x, 0);
-*/
 }
 
 static void hslider_draw_config(t_hslider* x,t_glist* glist)
diff --git a/pd/src/g_mycanvas.c b/pd/src/g_mycanvas.c
index 2018e1e38..6563489cd 100644
--- a/pd/src/g_mycanvas.c
+++ b/pd/src/g_mycanvas.c
@@ -103,9 +103,6 @@ void my_canvas_draw_erase(t_my_canvas* x, t_glist* glist)
     sys_vgui(".x%lx.c delete %lxMYCNV\n", canvas, x);
     sys_vgui(".x%lx.c dtag all %lxMYCNV\n", canvas, x);
     scalehandle_draw_erase2(&x->x_gui,glist);
-    //sys_vgui(".x%lx.c delete %lxBASE\n", canvas, x);
-    //sys_vgui(".x%lx.c delete %lxRECT\n", canvas, x);
-    //sys_vgui(".x%lx.c delete %lxLABEL\n", canvas, x);
 }
 
 void my_canvas_draw_config(t_my_canvas* x, t_glist* glist)
-- 
GitLab