From f9d33b2efc00267e9b6ab8a4721258a0a2312df7 Mon Sep 17 00:00:00 2001 From: "Jasper St. Pierre" Date: Sun, 13 Jul 2014 11:36:34 -0400 Subject: [PATCH] display: Add an extra check inside meta_display_close For clarity of what the expected input to this function is. --- src/core/display.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/core/display.c b/src/core/display.c index c5f412ecb..228f5127e 100644 --- a/src/core/display.c +++ b/src/core/display.c @@ -1015,6 +1015,7 @@ meta_display_close (MetaDisplay *display, guint32 timestamp) { g_assert (display != NULL); + g_assert (display == the_display); if (display->closing != 0) {