Revert "gmain: Warn when g_source_remove() fails"

This commit is contained in:
rpm-build 2015-03-21 11:16:29 -04:00 committed by Ray Strode
parent d0364b4438
commit 8ab051c5c7

View File

@ -2348,8 +2348,6 @@ g_source_remove (guint tag)
source = g_main_context_find_source_by_id (NULL, tag); source = g_main_context_find_source_by_id (NULL, tag);
if (source) if (source)
g_source_destroy (source); g_source_destroy (source);
else
g_critical ("Source ID %u was not found when attempting to remove it", tag);
return source != NULL; return source != NULL;
} }