- 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
gfx::AcceleratedWidget handle = window_->GetAcceleratedWidget();
  return ToBuffer(
      isolate(), static_cast<void*>(&handle), sizeof(gfx::AcceleratedWidget));
}
void Window::SetVisibleOnAllWorkspaces(bool visible) {
  return window_->SetVisibleOnAllWorkspaces(visible);
}
bool Window::IsVisibleOnAllWorkspaces() {
  return window_->IsVisibleOnAllWorkspaces();
}
int32_t Window::ID() const {
  return weak_map_id();
}
v8::Local<v8::Value> Window::WebContents(v8::Isolate* isolate) {
  if (web_contents_.IsEmpty())
    return v8::Null(isolate);
  else
    return v8::Local<v8::Value>::New(isolate, web_contents_);
}
void Window::BuildPrototype(v8::Isolate* isolate,
                            v8::Local<v8::ObjectTemplate> prototype) {
  mate::ObjectTemplateBuilder(isolate, prototype)
      .MakeDestroyable()
      .SetMethod("close", &Window::Close)
      .SetMethod("focus", &Window::Focus)
      .SetMethod("blur", &Window::Blur)