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

https://bugzilla.gnome.org/show_bug.cgi?id=753380
This commit is contained in:
Ting-Wei Lan 2015-08-08 20:12:09 +08:00
parent 070cd27786
commit b0b08d5010

View File

@ -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)
{