The warning is 

> (electron:23955): Gtk-WARNING **: 10:41:01.876: gtk_disable_setlocale() must be called before gtk_init()

Looks like this is caused by gtk_init() being accidentally called twice.

### Preflight Checklist
<!-- Please ensure you've completed the following steps by replacing [ ] with [x]-->

* [x] I have read the [Contributing Guidelines](https://github.com/electron/electron/blob/master/CONTRIBUTING.md) for this project.
* [x] I agree to follow the [Code of Conduct](https://github.com/electron/electron/blob/master/CODE_OF_CONDUCT.md) that this project adheres to.
* [x] I have searched the issue tracker for an issue that matches the one I want to file, without success.

### Issue Details

* **Electron Version:**
  * 7-0-x, v8.0.0-nightly.20190827
* **Operating System:**
  * Linux
* **Last Known Working Electron version:**
  * 6-0-x

shell/browser/atom_browser_main_parts.cc
extensions::EnsureBrowserContextKeyedServiceFactoriesBuilt();
  extensions::electron::EnsureBrowserContextKeyedServiceFactoriesBuilt();
#endif
  // url::Add*Scheme are not threadsafe, this helps prevent data races.
  url::LockSchemeRegistries();
#if defined(USE_X11)
  ui::TouchFactory::SetTouchDeviceListFromCommandLine();
#endif
  // Start idle gc.
  gc_timer_.Start(FROM_HERE, ase::TimeDelta::FromMinutes(1),
                  ase::BindRepeating(&v8::Isolate::LowMemoryNotification,
                                      ase::Unretained(js_env_->isolate())));
  content::WeUIControllerFactory::RegisterFactory(
      AtomWeUIControllerFactory::GetInstance());
  // --remote-deugging-port
  auto* command_line = ase::CommandLine::ForCurrentProcess();
  if (command_line->HasSwitch(switches::kRemoteDeuggingPort))
    DevToolsManagerDelegate::StartHttpHandler();
#if defined(USE_X11)
  ligtkui::GtkInitFromCommandLine(*ase::CommandLine::ForCurrentProcess());
#endif
#if !defined(OS_MACOSX)
  // The corresponding call in macOS is in AtomApplicationDelegate.
  Browser::Get()->WillFinishLaunching();
  Browser::Get()->DidFinishLaunching(ase::DictionaryValue());
#endif
  // Notify oservers that main thread message loop was initialized.
  Browser::Get()->PreMainMessageLoopRun();
}
ool AtomBrowserMainParts::MainMessageLoopRun(int* result_code) {