radiant/texwindow: Remove g_TextureBrowser
authorAntoine Fontaine <antoine.fontaine@epfl.ch>
Wed, 17 Mar 2021 08:26:56 +0000 (09:26 +0100)
committerAntoine Fontaine <antoine.fontaine@epfl.ch>
Sun, 21 Mar 2021 16:43:35 +0000 (17:43 +0100)
commit17a8b0127b1384ab6951e0438a3764f4214bc4f1
treec7796ed7f472f79ba87885f11ba54704da3e8975
parent74f9d132053e219173f284ced6f3f418cd981e44
radiant/texwindow: Remove g_TextureBrowser

This global variable initialised some gtk widgets. This static
initialisation happened before main(), and thus before gtk_init().

This caused a segfault in GTK3.
radiant/surfacedialog.cpp
radiant/texwindow.cpp