Mercurial > pidgin.yaz
comparison pidgin/win32/gtkdocklet-win32.c @ 15715:2a673784fa56
Recrop docket icons to consistent sizes. Realize that they're all actually 22px. A request is out for 16px icons for Windows
author | Sean Egan <seanegan@gmail.com> |
---|---|
date | Sun, 25 Feb 2007 23:32:45 +0000 |
parents | b2b756b59d81 |
children | 79144a15ea78 |
comparison
equal
deleted
inserted
replaced
15714:a34da2c2d8ba | 15715:2a673784fa56 |
---|---|
441 } | 441 } |
442 | 442 |
443 static HICON load_hicon_from_stock(const char *stock) { | 443 static HICON load_hicon_from_stock(const char *stock) { |
444 HICON hicon = NULL; | 444 HICON hicon = NULL; |
445 GdkPixbuf *pixbuf = gtk_widget_render_icon(image, stock, | 445 GdkPixbuf *pixbuf = gtk_widget_render_icon(image, stock, |
446 gtk_icon_size_from_name(PIDGIN_ICON_SIZE_TANGO_EXTRA_SMALL), NULL); | 446 gtk_icon_size_from_name(PIDGIN_ICON_SIZE_TANGO_SMALL), NULL); |
447 | 447 |
448 if (pixbuf) { | 448 if (pixbuf) { |
449 hicon = pixbuf_to_hicon(pixbuf); | 449 hicon = pixbuf_to_hicon(pixbuf); |
450 g_object_unref(pixbuf); | 450 g_object_unref(pixbuf); |
451 } else | 451 } else |