Kaydet (Commit) 3d02477f authored tarafından Enrico Tröger's avatar Enrico Tröger

Remove unused function is_active_plugin().


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2332 ea778897-0a13-0410-b9d1-a72fbfd435f5
üst 0d5614a2
...@@ -339,26 +339,6 @@ static void add_callbacks(Plugin *plugin, GeanyCallback *callbacks) ...@@ -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)
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment