@andy5995 commented on this pull request.


In pinner/pinner.c:

> +	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, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: <geany/geany-plugins/pull/1308/review/1878454287@github.com>