endow xpcshell with the power of GTK

This commit is contained in:
Chris Jones 2009-09-01 18:18:40 -05:00
Родитель faceddc604
Коммит 33826dc17d
1 изменённых файлов: 8 добавлений и 0 удалений

Просмотреть файл

@ -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;