GTK: Don't forward calls to NULL scrollbars
commit6834c5a830a3e446a89560fb04a207f099acf5de
authorColomban Wendling <ban@herbesfolles.org>
Sun, 23 Oct 2016 08:41:27 +0000 (23 10:41 +0200)
committerColomban Wendling <ban@herbesfolles.org>
Mon, 24 Oct 2016 09:03:58 +0000 (24 11:03 +0200)
treec9203e55bcd59ffa271e6a2634c619d6b475a0b8
parent605bfa833949bb29178cb4e1ec639ec9c011f38c
GTK: Don't forward calls to NULL scrollbars

Once Dispose() has been called, scrollbars will be NULL, so we need to
check against this in code that might run after Dispose().

Fixes scary warnings on certain widget destruction scenarios.

Closes #993.

X-Scintilla-Bug-URL: https://sourceforge.net/p/scintilla/bugs/1873/
X-Scintilla-Commit-ID: 4e67e6ee45732a048907ef1577cf1efc25729313
scintilla/gtk/ScintillaGTK.cxx