Fix GLib warning when starting with a new config.

git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2512 ea778897-0a13-0410-b9d1-a72fbfd435f5
This commit is contained in:
Enrico Tröger 2008-04-22 13:05:31 +00:00
parent 278591115d
commit c44e0869b7
2 changed files with 7 additions and 2 deletions

View File

@ -1,3 +1,9 @@
2008-04-22 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/plugins.c:
Fix GLib warning when starting with a new config.
2008-04-20 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de> 2008-04-20 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/build.c: * src/build.c:

View File

@ -605,8 +605,7 @@ load_active_plugins()
{ {
guint i, len; guint i, len;
len = g_strv_length(active_plugins_pref); if (active_plugins_pref == NULL || (len = g_strv_length(active_plugins_pref)) == 0)
if (active_plugins_pref == NULL || len == 0)
return; return;
for (i = 0; i < len; i++) for (i = 0; i < len; i++)