Mercurial > pidgin
comparison libpurple/plugin.c @ 25702:62de30e69768
propagate from branch 'im.pidgin.pidgin' (head d6e38b24a5b289e3e7632def307f1d98b177d697)
to branch 'im.pidgin.cpw.malu.xmpp.attention' (head b6e791fe6305ef52eebfa2e85d3ed46ff1763b6c)
author | Marcus Lundblad <ml@update.uu.se> |
---|---|
date | Wed, 07 Jan 2009 22:05:01 +0000 |
parents | 568b786c36f9 |
children | 1b8c18ab762f 68265bcc8814 |
comparison
equal
deleted
inserted
replaced
25701:a50545e37a7a | 25702:62de30e69768 |
---|---|
372 * enter an infinite loop in certain situations by passing | 372 * enter an infinite loop in certain situations by passing |
373 * purple_find_plugin_by_id a NULL value. -- ecoffey | 373 * purple_find_plugin_by_id a NULL value. -- ecoffey |
374 */ | 374 */ |
375 if (plugin->info->id == NULL || *plugin->info->id == '\0') | 375 if (plugin->info->id == NULL || *plugin->info->id == '\0') |
376 { | 376 { |
377 plugin->error = g_strdup_printf(_("This plugin has not defined an ID.")); | 377 plugin->error = g_strdup(_("This plugin has not defined an ID.")); |
378 purple_debug_error("plugins", "%s is not loadable: info->id is not defined.\n", plugin->path); | 378 purple_debug_error("plugins", "%s is not loadable: info->id is not defined.\n", plugin->path); |
379 plugin->unloadable = TRUE; | 379 plugin->unloadable = TRUE; |
380 return plugin; | 380 return plugin; |
381 } | 381 } |
382 | 382 |