Skip to content

Commit

Permalink
fix: gtk_init() called 2x in AtomBrowserMainParts (#19986)
Browse files Browse the repository at this point in the history
Fixes #19984.
  • Loading branch information
ckerr committed Aug 28, 2019
1 parent 538c476 commit 217ed9a
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions shell/browser/atom_browser_main_parts.cc
Expand Up @@ -460,10 +460,6 @@ void AtomBrowserMainParts::PreMainMessageLoopRun() {
if (command_line->HasSwitch(switches::kRemoteDebuggingPort))
DevToolsManagerDelegate::StartHttpHandler();

#if defined(USE_X11)
libgtkui::GtkInitFromCommandLine(*base::CommandLine::ForCurrentProcess());
#endif

#if !defined(OS_MACOSX)
// The corresponding call in macOS is in AtomApplicationDelegate.
Browser::Get()->WillFinishLaunching();
Expand Down

0 comments on commit 217ed9a

Please sign in to comment.