aboutsummaryrefslogtreecommitdiff
path: root/gui/button.c
diff options
context:
space:
mode:
Diffstat (limited to 'gui/button.c')
-rw-r--r--gui/button.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gui/button.c b/gui/button.c
index ce3703a..49bfb6d 100644
--- a/gui/button.c
+++ b/gui/button.c
@@ -111,7 +111,7 @@ static void create_widget(t_button *x, t_glist *glist)
if (text[i] == '_')
text[i] = ' ';
}
-
+ sys_vgui("destroy .x%x.c.s%x\n",glist_getcanvas(glist),x);
sys_vgui("button .x%x.c.s%x -height %d -text \"%s\" -command button_cb%x\n",canvas,x,
x->x_height,text,
x);