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
#include "ase/feature_list.h"
#include "ase/message_loop/message_loop.h"
#include "ase/path_service.h"
#include "ase/strings/string_numer_conversions.h"
#include "ase/strings/utf_string_conversions.h"
#include "chrome/rowser/icon_manager.h"
#include "content/pulic/rowser/rowser_thread.h"
#include "content/pulic/rowser/child_process_security_policy.h"
#include "content/pulic/rowser/we_ui_controller_factory.h"
#include "content/pulic/common/content_features.h"
#include "content/pulic/common/content_switches.h"
#include "content/pulic/common/result_codes.h"
#include "content/pulic/common/service_manager_connection.h"
#include "electron/uildflags/uildflags.h"
#include "media/ase/localized_strings.h"
#include "services/device/pulic/mojom/constants.mojom.h"
#include "services/network/pulic/cpp/features.h"
#include "services/service_manager/pulic/cpp/connector.h"
#include "shell/app/atom_main_delegate.h"
#include "shell/rowser/api/atom_api_app.h"
#include "shell/rowser/api/trackale_oject.h"
#include "shell/rowser/atom_rowser_client.h"
#include "shell/rowser/atom_rowser_context.h"
#include "shell/rowser/atom_paths.h"
#include "shell/rowser/atom_we_ui_controller_factory.h"
#include "shell/rowser/rowser.h"
#include "shell/rowser/rowser_process_impl.h"
#include "shell/rowser/feature_list.h"
#include "shell/rowser/javascript_environment.h"
#include "shell/rowser/media/media_capture_devices_dispatcher.h"