diff options
author | waker <wakeroid@gmail.com> | 2012-04-28 22:00:48 +0200 |
---|---|---|
committer | waker <wakeroid@gmail.com> | 2012-04-28 22:00:48 +0200 |
commit | acf36cadde3ae7583cd001c594e7f0d8c1561026 (patch) | |
tree | 0bb56282dd2a9bcf749d016ba25560bb143b2ed0 /plugins/shellexec | |
parent | 8ddcb77dc90624a2599073fe34f26e71b2f9a66d (diff) |
fixed NULL callback in shellexec commands when created from GUI
Diffstat (limited to 'plugins/shellexec')
-rw-r--r-- | plugins/shellexec/shellexec.c | 1 |
1 files changed, 1 insertions, 0 deletions
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; } |