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:
parent
2185904fcb
commit
f9d33b2efc
1 changed files with 1 additions and 0 deletions
|
@ -1015,6 +1015,7 @@ meta_display_close (MetaDisplay *display,
|
|||
guint32 timestamp)
|
||||
{
|
||||
g_assert (display != NULL);
|
||||
g_assert (display == the_display);
|
||||
|
||||
if (display->closing != 0)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue