summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKjell Ahlstedt <kjellahlstedt@gmail.com>2023-02-22 11:15:49 +0100
committerKjell Ahlstedt <kjellahlstedt@gmail.com>2023-02-22 11:15:49 +0100
commit737ed1433f9eee3b7f6b6ab2d1278ba1f7dcea10 (patch)
treecc5f53e24db1529305e5289934d02db73ca058a8
parent0c5320c639ee34f1697f51f4c9574a609fcd26cf (diff)
downloadglibmm-737ed1433f9eee3b7f6b6ab2d1278ba1f7dcea10.tar.gz
Glib::Dispatcher: Remove a g_warning()
Don't warn when a Dispatcher is deleted while messages are pending. Fixes #108
-rw-r--r--glib/glibmm/dispatcher.cc3
1 files changed, 0 insertions, 3 deletions
diff --git a/glib/glibmm/dispatcher.cc b/glib/glibmm/dispatcher.cc
index 601e99e3..8c22a4c5 100644
--- a/glib/glibmm/dispatcher.cc
+++ b/glib/glibmm/dispatcher.cc
@@ -476,10 +476,7 @@ bool DispatchNotifier::pipe_io_handler(Glib::IOCondition)
deleted_dispatchers_.clear();
if (drop_message)
- {
- g_warning("Dropped dispatcher message as the dispatcher no longer exists");
return true;
- }
// Actually, we wouldn't need the try/catch block because the Glib::Source
// C callback already does it for us. However, we do it anyway because the