Skip to content

Commit

Permalink
fix: gtk_init() called 2x in AtomBrowserMainParts (#20012)
Browse files Browse the repository at this point in the history
Fixes #19984.
  • Loading branch information
trop[bot] authored and zcbenz committed Aug 29, 2019
1 parent 182f63d commit 080c2c9
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 080c2c9

Please sign in to comment.