ekiga r6889 - in trunk: . src/endpoints



Author: jpuydt
Date: Tue Sep  9 09:31:17 2008
New Revision: 6889
URL: http://svn.gnome.org/viewvc/ekiga?rev=6889&view=rev

Log:
Partial fix for #551411

Modified:
   trunk/ChangeLog
   trunk/src/endpoints/sip-endpoint.cpp

Modified: trunk/src/endpoints/sip-endpoint.cpp
==============================================================================
--- trunk/src/endpoints/sip-endpoint.cpp	(original)
+++ trunk/src/endpoints/sip-endpoint.cpp	Tue Sep  9 09:31:17 2008
@@ -53,13 +53,13 @@
 #include "opal-account.h"
 
 static void
-presence_status_in_main (Ekiga::PresenceCore* core,
+presence_status_in_main (Ekiga::PresenceFetcher* fetcher,
                          std::string uri,
                          std::string presence,
                          std::string status)
 {
-  core->presence_received.emit (uri, presence);
-  core->status_received.emit (uri, status);
+  fetcher->presence_received.emit (uri, presence);
+  fetcher->status_received.emit (uri, status);
 }
 
 static void
@@ -1111,7 +1111,7 @@
    * TODO
    * Wouldn't it be convenient to emit the signal and have the presence core listen to it ?
    */
-  runtime.run_in_main (sigc::bind (sigc::ptr_fun (presence_status_in_main), &presence_core, _uri, presence, status));
+  runtime.run_in_main (sigc::bind (sigc::ptr_fun (presence_status_in_main), this, _uri, presence, status));
 }
 
 



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