aboutsummaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
authorhiro <hiro@ee746299-78ed-0310-b773-934348b2243d>2006-10-10 00:15:47 +0000
committerhiro <hiro@ee746299-78ed-0310-b773-934348b2243d>2006-10-10 00:15:47 +0000
commitcdc295b9a072e8486d39c87f862561b619f76e53 (patch)
treefccffa5e4dc4a3e8e3d931464c08a3c9f07f73cd /src/main.c
parent554215cb61405d221af84a4f30aeeaff79f0c2c1 (diff)
win32: use small icon for application icon.
git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@1219 ee746299-78ed-0310-b773-934348b2243d
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/main.c b/src/main.c
index 5fd89c2b..ff841f85 100644
--- a/src/main.c
+++ b/src/main.c
@@ -222,7 +222,12 @@ int main(int argc, char *argv[])
sock_set_io_timeout(prefs_common.io_timeout_secs);
gtkut_widget_init();
+
+#ifdef G_OS_WIN32
+ stock_pixbuf_gdk(NULL, STOCK_PIXMAP_SYLPHEED_SMALL, &icon);
+#else
stock_pixbuf_gdk(NULL, STOCK_PIXMAP_SYLPHEED, &icon);
+#endif
gtk_window_set_default_icon(icon);
mainwin = main_window_create