[ekiga] Relay the signal only if the queue still exists.
- From: Damien Sandras <dsandras src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [ekiga] Relay the signal only if the queue still exists.
- Date: Sat, 10 Oct 2009 14:09:37 +0000 (UTC)
commit a566e2da1d390daf5a44e639438e250602373961
Author: Damien Sandras <dsandras seconix com>
Date: Tue Oct 6 13:19:11 2009 +0200
Relay the signal only if the queue still exists.
lib/engine/framework/runtime-glib.cpp | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/lib/engine/framework/runtime-glib.cpp b/lib/engine/framework/runtime-glib.cpp
index 0d5fd15..a71c008 100644
--- a/lib/engine/framework/runtime-glib.cpp
+++ b/lib/engine/framework/runtime-glib.cpp
@@ -165,5 +165,6 @@ void
Ekiga::Runtime::run_in_main (boost::function0<void> action,
unsigned int seconds)
{
- g_async_queue_push (queue, (gpointer)(new struct message (action, seconds)));
+ if (queue != NULL)
+ g_async_queue_push (queue, (gpointer)(new struct message (action, seconds)));
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]