aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/bbdb/bbdb.c
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/bbdb/bbdb.c')
-rw-r--r--plugins/bbdb/bbdb.c9
1 files changed, 2 insertions, 7 deletions
diff --git a/plugins/bbdb/bbdb.c b/plugins/bbdb/bbdb.c
index d5104dcf0c..05fff957fd 100644
--- a/plugins/bbdb/bbdb.c
+++ b/plugins/bbdb/bbdb.c
@@ -112,12 +112,7 @@ e_plugin_lib_enable (EPlugin *ep, gint enable)
if (enable) {
d(fprintf (stderr, "BBDB spinning up...\n"));
- if (bbdb_check_gaim_enabled ())
- bbdb_sync_buddy_list_check ();
-
- g_timeout_add_seconds (BBDB_BLIST_CHECK_INTERVAL,
- (GSourceFunc) bbdb_timeout,
- NULL);
+ g_idle_add (bbdb_timeout, NULL);
}
return 0;
@@ -129,7 +124,7 @@ bbdb_timeout (gpointer data)
if (bbdb_check_gaim_enabled ())
bbdb_sync_buddy_list_check ();
- return TRUE;
+ return FALSE;
}
typedef struct