Skip to content

Commit

Permalink
Merge pull request #2718 from saivert/fix_plugaction_object_data
Browse files Browse the repository at this point in the history
gtkui: Set plugaction object data again after refactoring
  • Loading branch information
Oleksiy-Yakovenko committed Dec 5, 2021
2 parents 9ced069 + 3b39a52 commit 2e7cb42
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions plugins/gtkui/actions.c
Expand Up @@ -239,6 +239,8 @@ menu_add_action_items(GtkWidget *menu, int selected_count, ddb_playItem_t *selec
free(prev_title);
prev_title = NULL;

g_object_set_data (G_OBJECT (actionitem), "plugaction", action);

g_signal_connect ((gpointer) actionitem, "activate",
G_CALLBACK (activate_callback),
action);
Expand Down

0 comments on commit 2e7cb42

Please sign in to comment.