ekiga r5914 - trunk/lib/engine/presence/local-roster



Author: jpuydt
Date: Mon Jan 14 20:22:00 2008
New Revision: 5914
URL: http://svn.gnome.org/viewvc/ekiga?rev=5914&view=rev

Log:
Made use of the new Lister api

Modified:
   trunk/lib/engine/presence/local-roster/local-heap.cpp

Modified: trunk/lib/engine/presence/local-roster/local-heap.cpp
==============================================================================
--- trunk/lib/engine/presence/local-roster/local-heap.cpp	(original)
+++ trunk/lib/engine/presence/local-roster/local-heap.cpp	Mon Jan 14 20:22:00 2008
@@ -225,7 +225,8 @@
   presence_core->fetch_presence (presentity.get_uri ());
 
   // Connect the Local::Presentity signals.
-  presentity.trigger_saving.connect (sigc::mem_fun (this, &Local::Heap::save));
+  sigc::connection conn = presentity.trigger_saving.connect (sigc::mem_fun (this, &Local::Heap::save));
+  add_connection (presentity, conn);
 }
 
 



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