@andy5995 commented on this pull request.
> + GeanyDocument *doc = document_get_current(); + + if (doc != NULL && pin_list == NULL) + { + GtkWidget *label = gtk_label_new_with_mnemonic(doc->file_name); + gtk_widget_show(label); + gtk_box_pack_start(GTK_BOX(pinned_view_vbox), label, FALSE, FALSE, 0); + gtk_notebook_set_current_page(GTK_NOTEBOOK(plugin->geany_data->main_widgets->sidebar_notebook), page_number); + } +} + + +static gboolean pin_init(GeanyPlugin *plugin, gpointer pdata) +{ + GtkWidget *main_menu_item; + GSList *pin_list = NULL; How do I pass 'pin_list' to pin_activate_cb()? It seems like I can't just add a 3rd argument, or it's getting ignored. :( -- Reply to this email directly or view it on GitHub: https://github.com/geany/geany-plugins/pull/1308#pullrequestreview-1878454287 You are receiving this because you are subscribed to this thread. Message ID: <geany/geany-plugins/pull/1308/review/1878454...@github.com>