aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/empathy-status-icon.c4
-rw-r--r--src/empathy.c2
2 files changed, 3 insertions, 3 deletions
diff --git a/src/empathy-status-icon.c b/src/empathy-status-icon.c
index 07fc3aa02..86fe27a4f 100644
--- a/src/empathy-status-icon.c
+++ b/src/empathy-status-icon.c
@@ -396,8 +396,8 @@ empathy_status_icon_init (EmpathyStatusIcon *icon)
icon->priv = priv;
priv->icon = gtk_status_icon_new ();
priv->account_manager = empathy_account_manager_dup_singleton ();
- priv->idle = empathy_idle_new ();
- priv->event_manager = empathy_event_manager_new ();
+ priv->idle = empathy_idle_dup_singleton ();
+ priv->event_manager = empathy_event_manager_dup_singleton ();
g_signal_connect (priv->account_manager,
"account-connection-changed",
diff --git a/src/empathy.c b/src/empathy.c
index 815b2b487..e449247ac 100644
--- a/src/empathy.c
+++ b/src/empathy.c
@@ -473,7 +473,7 @@ main (int argc, char *argv[])
}
/* Setting up Idle */
- idle = empathy_idle_new ();
+ idle = empathy_idle_dup_singleton ();
empathy_idle_set_auto_away (idle, TRUE);
use_nm_notify_cb (empathy_conf_get (), EMPATHY_PREFS_USE_NM, idle);
empathy_conf_notify_add (empathy_conf_get (), EMPATHY_PREFS_USE_NM,