mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-02-23 10:42:11 +01:00
Revert "gmain: Warn when g_source_remove() fails"
This commit is contained in:
parent
d0364b4438
commit
8ab051c5c7
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user