| Index: chrome/app/chrome_exe_main_gtk.cc
|
| ===================================================================
|
| --- chrome/app/chrome_exe_main_gtk.cc (revision 12719)
|
| +++ chrome/app/chrome_exe_main_gtk.cc (working copy)
|
| @@ -2,6 +2,10 @@
|
| // Use of this source code is governed by a BSD-style license that can be
|
| // found in the LICENSE file.
|
|
|
| +#include <glib.h>
|
| +#include <gtk/gtk.h>
|
| +#include <gdk/gdk.h>
|
| +#include <glib-object.h>
|
| #include "base/at_exit.h"
|
| #include "base/process_util.h"
|
|
|
| @@ -29,6 +33,9 @@
|
| #if defined(GOOGLE_CHROME_BUILD)
|
| // TODO(tc): init crash reporter
|
| #endif
|
| + g_type_init();
|
| + g_thread_init(NULL);
|
| + gdk_threads_init();
|
|
|
| return ChromeMain(argc, argv);
|
| }
|
|
|