ui: gtk: fix crash when terminal inner-border is NULL
commit0f9745afaab0f1768acada45ee8aee2acb91e378
authorCole Robinson <crobinso@redhat.com>
Fri, 6 May 2016 18:03:05 +0000 (6 14:03 -0400)
committerMichael Roth <mdroth@linux.vnet.ibm.com>
Tue, 9 Aug 2016 19:25:53 +0000 (9 14:25 -0500)
tree0db87e4a70af9e522f55e0075781817e75429a86
parent94c8340d93793adbaf87abbfc6f519b5b6935020
ui: gtk: fix crash when terminal inner-border is NULL

VTE terminal inner-border can be NULL. The vte-0.36 (API 2.90)
code checks for the condition too so I assume it's not just a bug

Fixes a crash on Fedora 24 with gtk 3.20

Signed-off-by: Cole Robinson <crobinso@redhat.com>
Message-id: 2b2e85d403e8760ea53afd735a170500d5c17716.1462557436.git.crobinso@redhat.com
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
(cherry picked from commit 4fd811a6bd0b8f24f4761fc281454494c336d310)
Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
ui/gtk.c