d8d727752e
Replace p_ui->get_toolbar_insert_position() with p_plugin->add_toolbar_item(), which also adds a separator when the first item is added. Add 'GeanyPlugin *geany_plugin' plugin symbol, partly to replace plugin_info (now deprecated), mainly to identify a plugin and hold private implementation fields for plugin utility functions. (plugin_info will be removed after the 0.15 release.) - Code changes: Add ui_auto_separator_add_ref() to hide separator-like widgets when their visible group elements are hidden or destroyed. git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3074 ea778897-0a13-0410-b9d1-a72fbfd435f5