From acf36cadde3ae7583cd001c594e7f0d8c1561026 Mon Sep 17 00:00:00 2001 From: waker Date: Sat, 28 Apr 2012 22:00:48 +0200 Subject: fixed NULL callback in shellexec commands when created from GUI --- plugins/shellexec/shellexec.c | 1 + 1 file changed, 1 insertion(+) (limited to 'plugins/shellexec') diff --git a/plugins/shellexec/shellexec.c b/plugins/shellexec/shellexec.c index 11f8f603..df164dee 100644 --- a/plugins/shellexec/shellexec.c +++ b/plugins/shellexec/shellexec.c @@ -257,6 +257,7 @@ shx_get_actions (DB_plugin_action_callback_t callback) Shx_action_t* shx_action_add (void) { Shx_action_t *a = calloc (sizeof (Shx_action_t), 1); + a->parent.callback = (DB_plugin_action_callback_t)shx_callback; if (!actions) { actions = a; } -- cgit v1.2.3