empathy r2337 - trunk/tests



Author: xclaesse
Date: Fri Jan 30 17:34:44 2009
New Revision: 2337
URL: http://svn.gnome.org/viewvc/empathy?rev=2337&view=rev

Log:
Use the new _dup_singleton function instead of _new.

Signed-off-by: Jonny Lamb <jonny lamb collabora co uk>

Modified:
   trunk/tests/empetit.c

Modified: trunk/tests/empetit.c
==============================================================================
--- trunk/tests/empetit.c	(original)
+++ trunk/tests/empetit.c	Fri Jan 30 17:34:44 2009
@@ -48,7 +48,7 @@
   gtk_icon_theme_append_search_path (gtk_icon_theme_get_default (), icon_path);
   g_free (icon_path);
 
-  manager = empathy_contact_manager_new ();
+  manager = empathy_contact_manager_dup_singleton ();
   store = empathy_contact_list_store_new (EMPATHY_CONTACT_LIST (manager));
 
   vbox = gtk_vbox_new (FALSE, 2);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]