]> git.0d.be Git - empathy.git/commitdiff
Port to the new singleton API.
authorXavier Claessens <xclaesse@src.gnome.org>
Fri, 9 Jan 2009 10:06:27 +0000 (10:06 +0000)
committerXavier Claessens <xclaesse@src.gnome.org>
Fri, 9 Jan 2009 10:06:27 +0000 (10:06 +0000)
svn path=/trunk/; revision=2120

libempathy-gtk/empathy-ui-utils.c

index 7a9953ac0b6fcb9be67b3da4eda301282ef2e460..bd85c0522f0ce1b09e1f552c7d2062912c4bdca0 100644 (file)
@@ -1541,7 +1541,7 @@ empathy_sound_pref_is_enabled (const char *key)
                return FALSE;
        }
 
-       idle = empathy_idle_new ();
+       idle = empathy_idle_dup_singleton ();
        presence = empathy_idle_get_state (idle);
        g_object_unref (idle);