зеркало из https://github.com/mozilla/gecko-dev.git
endow xpcshell with the power of GTK
This commit is contained in:
Родитель
faceddc604
Коммит
33826dc17d
|
@ -48,6 +48,10 @@
|
|||
#ifdef MOZ_IPC
|
||||
#include "mozilla/dom/ContentProcessParent.h"
|
||||
#include "mozilla/ipc/TestShellParent.h"
|
||||
|
||||
#if defined(MOZ_WIDGET_GTK2)
|
||||
# include <gtk/gtk.h>
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#include <stdio.h>
|
||||
|
@ -1629,6 +1633,10 @@ main(int argc, char **argv, char **envp)
|
|||
setbuf(stdout, 0);
|
||||
#endif
|
||||
|
||||
#if defined(MOZ_IPC) && defined(MOZ_WIDGET_GTK2)
|
||||
gtk_init(0, 0);
|
||||
#endif
|
||||
|
||||
gErrFile = stderr;
|
||||
gOutFile = stdout;
|
||||
gInFile = stdin;
|
||||
|
|
Загрузка…
Ссылка в новой задаче