https://github.com/videolan/vlc
Revision 0e89cd612a2bf0d04f08fffd9ee748e6cc3df842 authored by Erwan Tulou on 11 June 2014, 11:16:36 UTC, committed by Erwan Tulou on 11 June 2014, 12:52:07 UTC
Rather than wait for the first call to THEMIM to instantiate this singleton,
do it explicitly at an early stage of the plugin initialization.

This is useful for Qt as a dialog provider, since otherwise THEMIM doesn't
get a chance to be set up until, e.g. the first call to a popupmenu,
which then makes this menu slightly longer and noticeable to display.

Also, remove the unneeded instantiation in the main_interface. (THEMIM has
already been used a few lines earlier, which makes the call useless).
1 parent 4107b25
History
Tip revision: 0e89cd612a2bf0d04f08fffd9ee748e6cc3df842 authored by Erwan Tulou on 11 June 2014, 11:16:36 UTC
Qt: early instantiation for THEMIM
Tip revision: 0e89cd6
File Mode Size
.gitignore -rw-r--r-- 63 bytes
Makefile.am -rw-r--r-- 2.1 KB
cachegen.c -rw-r--r-- 3.1 KB
darwinvlc.c -rw-r--r-- 8.8 KB
override.c -rw-r--r-- 7.9 KB
rootwrap.c -rw-r--r-- 6.8 KB
vlc.c -rw-r--r-- 8.9 KB
vlc_win32_rc.rc.in -rw-r--r-- 1005 bytes
winvlc.c -rw-r--r-- 13.3 KB

back to top