How to panel plugin

Dani dani at damufo.com
Fri May 5 19:46:44 CEST 2017


Hello:

For gtk3.

https://wiki.xfce.org/dev/howto/panel_plugins
say:

Plugin Registration
To register a plugin with the plugin system there are two macros 
available that should be used, instead of using the library functions 
directly; one for internal plugins and one for external plugins.
XFCE_PANEL_PLUGIN_REGISTER_EXTERNAL(construct);


but here:
http://www6.frugalware.org/mirrors/linux/vectorlinux/veclinux-7.1/usr/share/gtk-doc/html/libxfce4panel-1.0/libxfce4panel-Panel-Plugin-Register-Macros-(4.6-Style).html
say:

Warning
XFCE_PANEL_PLUGIN_REGISTER_EXTERNAL has been deprecated since version 
4.8 and should not be used in newly-written code. Deprecation is not 
entirely true, but it should be made clear that it is recommended to use 
XFCE_PANEL_PLUGIN_REGISTER(). See the Registering Plugins for more 
information.


My question, should I use
XFCE_PANEL_PLUGIN_REGISTER_EXTERNAL
or not?




-- 
Dani




More information about the Xfce4-dev mailing list