1
0
Fork 0

display: Add an extra check inside meta_display_close

For clarity of what the expected input to this function is.
This commit is contained in:
Jasper St. Pierre 2014-07-13 11:36:34 -04:00
parent 2185904fcb
commit f9d33b2efc

View file

@ -1015,6 +1015,7 @@ meta_display_close (MetaDisplay *display,
guint32 timestamp) guint32 timestamp)
{ {
g_assert (display != NULL); g_assert (display != NULL);
g_assert (display == the_display);
if (display->closing != 0) if (display->closing != 0)
{ {