summaryrefslogtreecommitdiff
path: root/button.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2023-04-06 20:50:00 -0500
committerJeff Carr <[email protected]>2023-04-06 20:50:00 -0500
commit27e76ebb005280db2bbbd02b0efa6d7faf4bcec7 (patch)
treeaa86dd208e05a9f088258d5cbba3d9e350f95cfd /button.go
parent933a7e4df0e6a28ad06dfd60ab2928d5cdf916f9 (diff)
correctly deprecate *widget to plugins
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'button.go')
-rw-r--r--button.go2
1 files changed, 0 insertions, 2 deletions
diff --git a/button.go b/button.go
index c506e36..cd9ef49 100644
--- a/button.go
+++ b/button.go
@@ -9,8 +9,6 @@ func (n *Node) NewButton(name string, custom func()) *Node {
a.Name = name
a.Text = name
a.ActionType = toolkit.Add
- // deprecate this once andlabs is refactored
- a.Callback = callback
newaction(&a, newNode, n)
return newNode