- Electron version: 1.1.2 arch=ia32
- Operating system: Windows 7x64

Electron is using the largest icon available in the .ico file for the windows bar.  I set the icon in my main window with `createWindow('main', { ...icon: icon_path })`

You can reproduce this with an icon that displays the size: (click 'test icon with several images' to download)
https://bugzilla.gnome.org/show_bug.cgi?id=551026

here is a screenshot of the wrong icon being used (should be 32x icon):

![wrong-icon](https://cloud.githubusercontent.com/assets/1128302/15620020/cce93d12-2425-11e6-8af4-ce6330aed1c9.png)

atom/browser/api/atom_api_window.cc
mate::Dictionary web_preferences = mate::Dictionary::CreateEmpty(isolate);
  options.Get(options::kWebPreferences, &web_preferences);
  
  v8::Local<v8::Value> value;
  if (options.Get(options::kBackgroundColor, &value))
    web_preferences.Set(options::kBackgroundColor, value);
  
  auto web_contents = WebContents::Create(isolate, web_preferences);
  web_contents_.Reset(isolate, web_contents.ToV8());
  api_web_contents_ = web_contents.get();
  
  mate::Dictionary(isolate, web_contents->GetWrapper()).Set(
      "browserWindowOptions", options);
  
  window_.reset(NativeWindow::Create(web_contents->managed_web_contents(),
                                     options));
  web_contents->SetOwnerWindow(window_.get());
  window_->InitFromOptions(options);
  window_->AddObserver(this);
  AttachAsUserData(window_.get());
#if defined(TOOLKIT_VIEWS)
  
  mate::Handle<NativeImage> icon;
  if (options.Get(options::kIcon, &icon))
    SetIcon(icon);
#endif
}
Window::~Window() {