Revision: 2512 http://geany.svn.sourceforge.net/geany/?rev=2512&view=rev Author: eht16 Date: 2008-04-22 06:05:31 -0700 (Tue, 22 Apr 2008)
Log Message: ----------- Fix GLib warning when starting with a new config.
Modified Paths: -------------- trunk/ChangeLog trunk/src/plugins.c
Modified: trunk/ChangeLog =================================================================== --- trunk/ChangeLog 2008-04-22 12:59:08 UTC (rev 2511) +++ trunk/ChangeLog 2008-04-22 13:05:31 UTC (rev 2512) @@ -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>
* src/build.c:
Modified: trunk/src/plugins.c =================================================================== --- trunk/src/plugins.c 2008-04-22 12:59:08 UTC (rev 2511) +++ trunk/src/plugins.c 2008-04-22 13:05:31 UTC (rev 2512) @@ -605,8 +605,7 @@ { guint i, len;
- len = g_strv_length(active_plugins_pref); - if (active_plugins_pref == NULL || len == 0) + if (active_plugins_pref == NULL || (len = g_strv_length(active_plugins_pref)) == 0) return;
for (i = 0; i < len; i++)
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.