diff options
author | Xavier Claessens <xclaesse@src.gnome.org> | 2009-01-09 18:06:00 +0800 |
---|---|---|
committer | Xavier Claessens <xclaesse@src.gnome.org> | 2009-01-09 18:06:00 +0800 |
commit | c2a1dec002eb9a8c0372bc6fc920a54e36b7e991 (patch) | |
tree | eab79909cfb1550b494c5a81056301bbf2698204 /libempathy-gtk | |
parent | 4100a5f538bf8f2c22658a579a80c909162dc46c (diff) | |
download | gsoc2013-empathy-c2a1dec002eb9a8c0372bc6fc920a54e36b7e991.tar gsoc2013-empathy-c2a1dec002eb9a8c0372bc6fc920a54e36b7e991.tar.gz gsoc2013-empathy-c2a1dec002eb9a8c0372bc6fc920a54e36b7e991.tar.bz2 gsoc2013-empathy-c2a1dec002eb9a8c0372bc6fc920a54e36b7e991.tar.lz gsoc2013-empathy-c2a1dec002eb9a8c0372bc6fc920a54e36b7e991.tar.xz gsoc2013-empathy-c2a1dec002eb9a8c0372bc6fc920a54e36b7e991.tar.zst gsoc2013-empathy-c2a1dec002eb9a8c0372bc6fc920a54e36b7e991.zip |
Port EmpathyIdle to the new singleton policy.
svn path=/trunk/; revision=2114
Diffstat (limited to 'libempathy-gtk')
-rw-r--r-- | libempathy-gtk/empathy-presence-chooser.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libempathy-gtk/empathy-presence-chooser.c b/libempathy-gtk/empathy-presence-chooser.c index c86baade0..ff735e520 100644 --- a/libempathy-gtk/empathy-presence-chooser.c +++ b/libempathy-gtk/empathy-presence-chooser.c @@ -203,7 +203,7 @@ empathy_presence_chooser_init (EmpathyPresenceChooser *chooser) G_CALLBACK (presence_chooser_scroll_event_cb), NULL); - priv->idle = empathy_idle_new (); + priv->idle = empathy_idle_dup_singleton (); presence_chooser_presence_changed_cb (chooser); g_signal_connect_swapped (priv->idle, "notify", G_CALLBACK (presence_chooser_presence_changed_cb), @@ -747,7 +747,7 @@ presence_chooser_set_state (McPresence state, { EmpathyIdle *idle; - idle = empathy_idle_new (); + idle = empathy_idle_dup_singleton (); empathy_idle_set_presence (idle, state, status); g_object_unref (idle); } |