diff options
author | waker <wakeroid@gmail.com> | 2012-11-05 19:46:55 +0100 |
---|---|---|
committer | waker <wakeroid@gmail.com> | 2012-11-05 19:46:55 +0100 |
commit | d4132fccbcd079c56b8109ecc15b011e5d1bdee1 (patch) | |
tree | 5c53c9efc9745e42b7c48a525a39334ebed7aaf8 /plugins/gtkui/actions.c | |
parent | a1d50122035b30e5735ca5db70593fe51028e628 (diff) |
new action API code fixes
Diffstat (limited to 'plugins/gtkui/actions.c')
-rw-r--r-- | plugins/gtkui/actions.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/plugins/gtkui/actions.c b/plugins/gtkui/actions.c index ac74111f..ee7831f6 100644 --- a/plugins/gtkui/actions.c +++ b/plugins/gtkui/actions.c @@ -36,7 +36,10 @@ static void on_actionitem_activate (GtkMenuItem *menuitem, DB_plugin_action_t *action) { - action->callback (action, NULL, DDB_ACTION_CTX_MAIN); + // these actions are always in the MAIN context, or they are coming from new + // plugins, so we don't have to care about the user data for <=1.4 plugins. + // aren't we?.. + action->callback (action, DDB_ACTION_CTX_MAIN); } void |