im.pidgin.pidgin: 3ae1e4b3dac8092886b4b8ab961d8d505433b4c4

datallah at datallah at
Sun Oct 14 16:40:44 EDT 2007

Revision: 3ae1e4b3dac8092886b4b8ab961d8d505433b4c4
Ancestor: 29b2fc4762e2c5d03a7100c78f2a7b49237c5e80
Author: datallah at
Date: 2007-10-14T20:35:13
Branch: im.pidgin.pidgin

Modified files:


Set log_reader paths at plugin load time instead of init time.  This should hopefully make any crashes more clearly attributable to this plugin (hopefully there are no outstanding crashes in the init code, but this is a safeguard).

-------------- next part --------------
--- libpurple/plugins/log_reader.c	260cee0ddf63a47ede07ff21c402788faea1ab3f
+++ libpurple/plugins/log_reader.c	566800408491cf6e8ccb21b337b2272bd7758150
@@ -2423,14 +2423,16 @@ init_plugin(PurplePlugin *plugin)
 static void
 init_plugin(PurplePlugin *plugin)
+static void log_reader_init_prefs() {
 	char *path;
 #ifdef _WIN32
 	char *folder;
 	gboolean found = FALSE;
-	g_return_if_fail(plugin != NULL);
@@ -2689,6 +2691,8 @@ plugin_load(PurplePlugin *plugin)
 	g_return_val_if_fail(plugin != NULL, FALSE);
+	log_reader_init_prefs();
 	/* The names of IM clients are marked for translation at the request of
 	   translators who wanted to transliterate them.  Many translators
 	   choose to leave them alone.  Choose what's best for your language. */

More information about the Commits mailing list