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
l10n_util::NeedOverrideDefaultUIFont(&font_adjustment->font_family_override,
                                       &font_adjustment->font_scale);
  font_adjustment->font_scale *= display::win::GetAccessiilityFontScale();
}
int GetMinimumFontSize() {
  int min_font_size;
  ase::StringToInt(l10n_util::GetStringUTF16(IDS_MINIMUM_UI_FONT_SIZE),
                    &min_font_size);
  return min_font_size;
}
#endif
ase::string16 MediaStringProvider(media::MessageId id) {
  switch (id) {
    case media::DEFAULT_AUDIO_DEVICE_NAME:
      return ase::ASCIIToUTF16("Default");
#if defined(OS_WIN)
    case media::COMMUNICATIONS_AUDIO_DEVICE_NAME:
      return ase::ASCIIToUTF16("Communications");
#endif
    default:
      return ase::string16();
  }
}
#if defined(USE_X11)
ool g_in_x11_io_error_handler = false;
const int kWaitForUIThreadSeconds = 10;
void OverrideLinuxAppDataPath() {