Mercurial > pidgin
comparison pidgin/gtkconv.c @ 15990:37d928a6579e
these are 16x16 now
author | Nathan Walp <nwalp@pidgin.im> |
---|---|
date | Wed, 04 Apr 2007 19:18:24 +0000 |
parents | 50d949d6bda2 |
children | d64602bb59d2 |
comparison
equal
deleted
inserted
replaced
15989:87be53a26478 | 15990:37d928a6579e |
---|---|
3487 "GtkTreeView"); | 3487 "GtkTreeView"); |
3488 | 3488 |
3489 if (!pixbuf) | 3489 if (!pixbuf) |
3490 return NULL; | 3490 return NULL; |
3491 | 3491 |
3492 scale = gdk_pixbuf_scale_simple(pixbuf, 15, 15, GDK_INTERP_BILINEAR); | 3492 scale = gdk_pixbuf_scale_simple(pixbuf, 16, 16, GDK_INTERP_BILINEAR); |
3493 g_object_unref(pixbuf); | 3493 g_object_unref(pixbuf); |
3494 | 3494 |
3495 if (flags && purple_conv_chat_is_user_ignored(chat, name)) { | 3495 if (flags && purple_conv_chat_is_user_ignored(chat, name)) { |
3496 filename = g_build_filename(DATADIR, "pixmaps", "pidgin", "status", "default", "ignored.png", NULL); | 3496 filename = g_build_filename(DATADIR, "pixmaps", "pidgin", "status", "default", "ignored.png", NULL); |
3497 pixbuf = gdk_pixbuf_new_from_file(filename, NULL); | 3497 pixbuf = gdk_pixbuf_new_from_file(filename, NULL); |
3498 g_free(filename); | 3498 g_free(filename); |
3499 scale2 = gdk_pixbuf_scale_simple(pixbuf, 15, 15, GDK_INTERP_BILINEAR); | 3499 scale2 = gdk_pixbuf_scale_simple(pixbuf, 16, 16, GDK_INTERP_BILINEAR); |
3500 g_object_unref(pixbuf); | 3500 g_object_unref(pixbuf); |
3501 gdk_pixbuf_composite(scale2, scale, 0, 0, 15, 15, 0, 0, 1, 1, GDK_INTERP_BILINEAR, 192); | 3501 gdk_pixbuf_composite(scale2, scale, 0, 0, 16, 16, 0, 0, 1, 1, GDK_INTERP_BILINEAR, 192); |
3502 g_object_unref(scale2); | 3502 g_object_unref(scale2); |
3503 } | 3503 } |
3504 | 3504 |
3505 return scale; | 3505 return scale; |
3506 } | 3506 } |