mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-10-02 11:56:38 +02:00
Cosmetic coding style fixes
This commit is contained in:
@@ -322,15 +322,17 @@ g_object_notify_queue_thaw (GObject *object,
|
|||||||
G_LOCK(notify_lock);
|
G_LOCK(notify_lock);
|
||||||
|
|
||||||
/* Just make sure we never get into some nasty race condition */
|
/* Just make sure we never get into some nasty race condition */
|
||||||
if (G_UNLIKELY(nqueue->freeze_count == 0)) {
|
if (G_UNLIKELY (nqueue->freeze_count == 0))
|
||||||
G_UNLOCK(notify_lock);
|
{
|
||||||
|
G_UNLOCK (notify_lock);
|
||||||
g_warning ("%s: property-changed notification for %s(%p) is not frozen",
|
g_warning ("%s: property-changed notification for %s(%p) is not frozen",
|
||||||
G_STRFUNC, G_OBJECT_TYPE_NAME (object), object);
|
G_STRFUNC, G_OBJECT_TYPE_NAME (object), object);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
nqueue->freeze_count--;
|
nqueue->freeze_count--;
|
||||||
if (nqueue->freeze_count) {
|
if (nqueue->freeze_count)
|
||||||
|
{
|
||||||
G_UNLOCK (notify_lock);
|
G_UNLOCK (notify_lock);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user