mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-23 01:18:53 +02:00
Replace most GObject warnings with criticals
All of these warnings indicate programmer error, so critical is most appropriate here. Exceptions: deprecation warnings are just warnings. Also, warnings that are worded with uncertainty can remain warnings rather than criticals.
This commit is contained in:
@@ -113,8 +113,8 @@ g_object_notify_queue_thaw (GObject *object,
|
||||
/* Just make sure we never get into some nasty race condition */
|
||||
if (G_UNLIKELY(nqueue->freeze_count == 0)) {
|
||||
G_UNLOCK(notify_lock);
|
||||
g_warning ("%s: property-changed notification for %s(%p) is not frozen",
|
||||
G_STRFUNC, G_OBJECT_TYPE_NAME (object), object);
|
||||
g_critical ("%s: property-changed notification for %s(%p) is not frozen",
|
||||
G_STRFUNC, G_OBJECT_TYPE_NAME (object), object);
|
||||
return;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user