[libgda] ITSignaler: replacing warning to skip callback
- From: Daniel Espinosa Ortiz <despinosa src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libgda] ITSignaler: replacing warning to skip callback
- Date: Thu, 11 Apr 2019 22:30:16 +0000 (UTC)
commit 23c98f8d9e9043e04b7be78cfa0104fa82d82738
Author: Daniel Espinosa <esodan gmail com>
Date: Thu Apr 11 16:06:47 2019 -0500
ITSignaler: replacing warning to skip callback
libgda/thread-wrapper/test-itsignaler.c | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
---
diff --git a/libgda/thread-wrapper/test-itsignaler.c b/libgda/thread-wrapper/test-itsignaler.c
index ae195621d..fd3e55c31 100644
--- a/libgda/thread-wrapper/test-itsignaler.c
+++ b/libgda/thread-wrapper/test-itsignaler.c
@@ -66,9 +66,8 @@ source_callback (CbData *cbdata)
Data *data;
data = itsignaler_pop_notification (cbdata->its, 0);
if (data == NULL) {
- g_warning ("No Data skiping");
- g_main_loop_quit (cbdata->loop);
- return FALSE;
+ g_message ("No Data skiping");
+ return TRUE;
}
if (cbdata->counter != data->counter) {
g_warning ("itsignaler_pop_notification() returned wrong value %d instead of %d",
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]