Skip to content

Commit

Permalink
Remove unneeded data fields for the Select popup menu item
Browse files Browse the repository at this point in the history
  • Loading branch information
nonoo committed Apr 28, 2021
1 parent 01d21a9 commit 1482feb
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/gtk-sat-popup-common.c
Original file line number Diff line number Diff line change
Expand Up @@ -72,8 +72,6 @@ void add_pass_menu_items(GtkWidget * menu, sat_t * sat, qth_t * qth,
/* finally the select menu item */
menuitem = gtk_menu_item_new_with_label(_("Select"));
g_object_set_data(G_OBJECT(menuitem), "sat", sat);
g_object_set_data(G_OBJECT(menuitem), "qth", qth);
g_object_set_data(G_OBJECT(menuitem), "tstamp", tstamp);
g_signal_connect(menuitem, "activate", G_CALLBACK(sat_select_cb),
widget);
gtk_menu_shell_append(GTK_MENU_SHELL(menu), menuitem);
Expand Down

0 comments on commit 1482feb

Please sign in to comment.