mirror of
https://github.com/brl/mutter.git
synced 2024-12-23 03:22:04 +00:00
build: Fix return value in meta-sync-ring.c
https://bugzilla.gnome.org/show_bug.cgi?id=753380
This commit is contained in:
parent
070cd27786
commit
b0b08d5010
@ -499,7 +499,7 @@ meta_sync_ring_after_frame (void)
|
||||
if (!ring)
|
||||
return FALSE;
|
||||
|
||||
g_return_if_fail (ring->xdisplay != NULL);
|
||||
g_return_val_if_fail (ring->xdisplay != NULL, FALSE);
|
||||
|
||||
if (ring->warmup_syncs >= NUM_SYNCS / 2)
|
||||
{
|
||||
@ -542,7 +542,7 @@ meta_sync_ring_insert_wait (void)
|
||||
if (!ring)
|
||||
return FALSE;
|
||||
|
||||
g_return_if_fail (ring->xdisplay != NULL);
|
||||
g_return_val_if_fail (ring->xdisplay != NULL, FALSE);
|
||||
|
||||
if (ring->current_sync->state != META_SYNC_STATE_READY)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user