ekiga r6217 - in trunk: . src/endpoints
- From: dsandras svn gnome org
- To: svn-commits-list gnome org
- Subject: ekiga r6217 - in trunk: . src/endpoints
- Date: Tue, 22 Apr 2008 22:00:18 +0100 (BST)
Author: dsandras
Date: Tue Apr 22 21:00:18 2008
New Revision: 6217
URL: http://svn.gnome.org/viewvc/ekiga?rev=6217&view=rev
Log:
Added guards against NULL value.
Modified:
trunk/ChangeLog
trunk/src/endpoints/sip.cpp
Modified: trunk/src/endpoints/sip.cpp
==============================================================================
--- trunk/src/endpoints/sip.cpp (original)
+++ trunk/src/endpoints/sip.cpp Tue Apr 22 21:00:18 2008
@@ -931,8 +931,11 @@
* TODO
* Wouldn't it be convenient to emit the signal and have the presence core listen to it ?
*/
- runtime.run_in_main (sigc::bind (presence_core->presence_received.make_slot (), _uri, presence));
- runtime.run_in_main (sigc::bind (presence_core->status_received.make_slot (), _uri, status));
+ if (presence_core) {
+
+ runtime.run_in_main (sigc::bind (presence_core->presence_received.make_slot (), _uri, presence));
+ runtime.run_in_main (sigc::bind (presence_core->status_received.make_slot (), _uri, status));
+ }
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]