libpurple/plugins/log_reader.c

branch
release-2.2.2
changeset 20241
36b8b9235ff3
parent 20240
3cad10595996
child 20288
5ca925a094e2
child 21076
bb293a21ce84
--- a/libpurple/plugins/log_reader.c	Sun Oct 21 04:47:57 2007 +0000
+++ b/libpurple/plugins/log_reader.c	Sun Oct 21 04:49:28 2007 +0000
@@ -2453,14 +2453,16 @@
 static void
 init_plugin(PurplePlugin *plugin)
 {
+
+}
+
+static void log_reader_init_prefs() {
 	char *path;
 #ifdef _WIN32
 	char *folder;
 	gboolean found = FALSE;
 #endif
 
-	g_return_if_fail(plugin != NULL);
-
 	purple_prefs_add_none("/plugins/core/log_reader");
 
 
@@ -2719,6 +2721,8 @@
 {
 	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. */

mercurial