plugin writing problem

Adriano Winter Bess awbess at gmail.com
Wed Dec 21 14:48:09 CET 2005


2005/12/21, Jasper Huijsmans <jasper at xfce.org>:
> [...]
> Ooh, here's a thought: what hapens if you 'fake' the values?
>
> static void
> myplugin_construct (XfcePanelPlugin *plugin)
> {
>    int argc;
>    char *argv[2];
>
>    argc=0;
>    argv[0] = "myplugin";
>    argv[1] = NULL;
>
>    bonobo_init (&argc, &argv);

I guess it might work, I'll give it a try.

Regards,
Adriano
--
Adriano Winter Bess
awbess <at> gmail <dot> com



More information about the Xfce4-dev mailing list