ekiga r7433 - trunk/lib/engine/presence/skel



Author: jpuydt
Date: Fri Dec  5 04:09:41 2008
New Revision: 7433
URL: http://svn.gnome.org/viewvc/ekiga?rev=7433&view=rev

Log:
Used add_connection, since it's now more convenient

Modified:
   trunk/lib/engine/presence/skel/cluster-impl.h

Modified: trunk/lib/engine/presence/skel/cluster-impl.h
==============================================================================
--- trunk/lib/engine/presence/skel/cluster-impl.h	(original)
+++ trunk/lib/engine/presence/skel/cluster-impl.h	Fri Dec  5 04:09:41 2008
@@ -139,13 +139,13 @@
 void
 Ekiga::ClusterImpl<HeapType>::add_heap (gmref_ptr<HeapType> heap)
 {
-  RefLister<HeapType>::add_connection (heap, heap->presentity_added.connect (sigc::bind (sigc::mem_fun (this, &ClusterImpl::on_presentity_added), heap)));
+  add_connection (heap, heap->presentity_added.connect (sigc::bind (sigc::mem_fun (this, &ClusterImpl::on_presentity_added), heap)));
 
-  RefLister<HeapType>::add_connection (heap, heap->presentity_updated.connect (sigc::bind (sigc::mem_fun (this, &ClusterImpl::on_presentity_updated), heap)));
+  add_connection (heap, heap->presentity_updated.connect (sigc::bind (sigc::mem_fun (this, &ClusterImpl::on_presentity_updated), heap)));
 
-  RefLister<HeapType>::add_connection (heap, heap->presentity_removed.connect (sigc::bind (sigc::mem_fun (this, &ClusterImpl::on_presentity_removed), heap)));
+  add_connection (heap, heap->presentity_removed.connect (sigc::bind (sigc::mem_fun (this, &ClusterImpl::on_presentity_removed), heap)));
 
-  RefLister<HeapType>::add_connection (heap, heap->questions.add_handler (questions.make_slot ()));
+  add_connection (heap, heap->questions.add_handler (questions.make_slot ()));
 
   add_object (heap);
 }



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