console: add same displaychangelistener registration pre-condition
authorMarc-André Lureau <marcandre.lureau@redhat.com>
Thu, 6 Apr 2017 12:05:12 +0000 (14:05 +0200)
committerGerd Hoffmann <kraxel@redhat.com>
Mon, 24 Apr 2017 08:12:28 +0000 (10:12 +0200)
commite0665c3b5f57e0c1d20ec555c925fb84ccc31b29
tree5e02aaac75ff16ca8e0dc16b1d12f46205bb6fbe
parent6905b93447a42e606dfd126b90f75f4cd3c6fe94
console: add same displaychangelistener registration pre-condition

Catch an invalid state. Mainly useful for documentation purposes.

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Message-id: 20170406120513.638-3-marcandre.lureau@redhat.com
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
ui/console.c