<p>In <a href="https://github.com/geany/geany/pull/629#discussion_r41062661">plugins/demoproxy.c</a>:</p>
<pre style='color:#555'>> +{
> + PluginContext *data;
> + gchar fmt[] = "item%d";
> + gint i = 0;
> + gchar *text;
> +
> + data = (PluginContext *) pdata;
> +
> + /* Normally, you would instruct the VM/interpreter to call into the actual plugin. The
> + * plugin would be identified by pdata. Because there is no interpreter for
> + * .ini files we do it inline, as this is just a demo */
> + data->help_text = g_key_file_get_locale_string(data->file, "Help", "text", NULL, NULL);
> + while (TRUE)
> + {
> + GtkWidget *item;
> + gchar *key = g_strdup_printf(fmt, i++);
</pre>
<p>(weird, I would think I already mentioned this earlier)</p>
<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br>Reply to this email directly or <a href="https://github.com/geany/geany/pull/629/files#r41062661">view it on GitHub</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/ABDrJ-NV0QFdVXaoJEXOvoSoDFy519V7ks5o3ty0gaJpZM4Fy7fG.gif" width="1" /></p>
<div itemscope itemtype="http://schema.org/EmailMessage">
<div itemprop="action" itemscope itemtype="http://schema.org/ViewAction">
<link itemprop="url" href="https://github.com/geany/geany/pull/629/files#r41062661"></link>
<meta itemprop="name" content="View Pull Request"></meta>
</div>
<meta itemprop="description" content="View this Pull Request on GitHub"></meta>
</div>