plugin writing problem
jasper at xfce.org
Wed Dec 21 11:10:24 CET 2005
> Adriano Winter Bess schreef:
>> What I'd like to know is if there's any other way I can get argc and
>> argv using the XfcePanelPlugin API (I couldn't find it) since
>> xfce_external_panel_plugin_new gets argc and argv as parameters. Any
>> sugestions are welcomed.
Ooh, here's a thought: what hapens if you 'fake' the values?
myplugin_construct (XfcePanelPlugin *plugin)
argv = "myplugin";
argv = NULL;
bonobo_init (&argc, &argv);
/* ... */
Would that work?
More information about the Xfce4-dev