diff options
Diffstat (limited to 'plugins/bbdb')
-rw-r--r-- | plugins/bbdb/bbdb.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/plugins/bbdb/bbdb.c b/plugins/bbdb/bbdb.c index 31aebceff2..7eccb31415 100644 --- a/plugins/bbdb/bbdb.c +++ b/plugins/bbdb/bbdb.c @@ -91,8 +91,10 @@ e_plugin_lib_enable (EPlugin *ep, g_idle_add (bbdb_timeout, ep); interval = get_check_interval (); - if (interval > 0) - update_source = g_timeout_add_seconds (interval, (GSourceFunc) bbdb_timeout, NULL); + if (interval > 0) { + update_source = e_named_timeout_add_seconds ( + interval, bbdb_timeout, NULL); + } } return 0; |