Commit b0b08d50 authored by Ting-Wei Lan's avatar Ting-Wei Lan

build: Fix return value in meta-sync-ring.c

https://bugzilla.gnome.org/show_bug.cgi?id=753380
parent 070cd277
......@@ -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)
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment