Remove unused function is_active_plugin().

git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2332 ea778897-0a13-0410-b9d1-a72fbfd435f5
This commit is contained in:
Enrico Tröger 2008-03-13 12:06:10 +00:00
parent 0d5614a2d4
commit 3d02477f7d

View File

@ -339,26 +339,6 @@ static void add_callbacks(Plugin *plugin, GeanyCallback *callbacks)
} }
static gboolean
is_active_plugin(const gchar *name)
{
gint i, len;
g_return_val_if_fail(name, FALSE);
/* if app->active_plugins is NULL, guess it was not yet set and don't load any plugins */
if (app->active_plugins == NULL || (len = g_strv_length(app->active_plugins)) == 0)
return FALSE;
for (i = 0; i < len; i++)
{
if (utils_str_equal(name, app->active_plugins[i]))
return TRUE;
}
return FALSE;
}
static void static void
add_kb_group(Plugin *plugin) add_kb_group(Plugin *plugin)
{ {