forked from osmocom/wireshark
GTK: Disable liboverlay-scrollbar that crashed wireshark on Ubuntu
Bug: 11400 Change-Id: I40d901ab3ef43a61ef984014dabc0547605ef77c Reviewed-on: https://code.wireshark.org/review/15888 Reviewed-by: Anders Broman <a.broman58@gmail.com>
This commit is contained in:
parent
048ba7a3a3
commit
af6936c9ce
|
@ -2470,6 +2470,13 @@ main(int argc, char *argv[])
|
|||
g_thread_init(NULL);
|
||||
#endif
|
||||
|
||||
/* Disable liboverlay scrollbar which broke Wireshark on Ubuntu */
|
||||
#if !GTK_CHECK_VERSION(3,16,0)
|
||||
if (NULL == g_getenv("LIBOVERLAY_SCROLLBAR")) {
|
||||
g_setenv("LIBOVERLAY_SCROLLBAR", "0", FALSE);
|
||||
}
|
||||
#endif
|
||||
|
||||
/* Set the current locale according to the program environment.
|
||||
* We haven't localized anything, but some GTK widgets are localized
|
||||
* (the file selection dialogue, for example).
|
||||
|
|
Loading…
Reference in New Issue