[glib/halfline/debug-metrics: 1/22] Revert "gmain: Warn when g_source_remove() fails"




commit 8ab051c5c796e3d17863399bbf9164a71ba0fb06
Author: rpm-build <rpm-build>
Date:   Sat Mar 21 11:16:29 2015 -0400

    Revert "gmain: Warn when g_source_remove() fails"

 glib/gmain.c | 2 --
 1 file changed, 2 deletions(-)
---
diff --git a/glib/gmain.c b/glib/gmain.c
index 227168a0f..e4381f629 100644
--- a/glib/gmain.c
+++ b/glib/gmain.c
@@ -2348,8 +2348,6 @@ g_source_remove (guint tag)
   source = g_main_context_find_source_by_id (NULL, tag);
   if (source)
     g_source_destroy (source);
-  else
-    g_critical ("Source ID %u was not found when attempting to remove it", tag);
 
   return source != NULL;
 }


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