- 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
#include "atom/browser/api/atom_api_window.h"
#include "atom/common/native_mate_converters/value_converter.h"
#include "atom/browser/api/atom_api_menu.h"
#include "atom/browser/api/atom_api_web_contents.h"
#include "atom/browser/browser.h"
#include "atom/browser/native_window.h"
#include "atom/common/native_mate_converters/callback.h"
#include "atom/common/native_mate_converters/gfx_converter.h"
#include "atom/common/native_mate_converters/gurl_converter.h"
#include "atom/common/native_mate_converters/image_converter.h"
#include "atom/common/native_mate_converters/string16_converter.h"
#include "atom/common/node_includes.h"
#include "atom/common/options_switches.h"
#include "content/public/browser/render_process_host.h"
#include "native_mate/constructor.h"
#include "native_mate/dictionary.h"
#include "ui/gfx/geometry/rect.h"
#if defined(TOOLKIT_VIEWS)
#include "atom/browser/native_window_views.h"
#endif
#if defined(OS_WIN)
#include "atom/browser/ui/win/taskbar_host.h"
#endif
#if defined(OS_WIN)
namespace mate {
template<>
struct Converter<atom::TaskbarHost::ThumbarButton> {
  static bool FromV8(v8::Isolate* isolate, v8::Handle<v8::Value> val,