comparison src/gtklog.c @ 13090:0aa231ebbfd5

[gaim-migrate @ 15452] Changes to some pixbuf stuff. I added a 'gaim_gtk_create_gaim_icon_with_status()' function to util.c, and changed 'gaim_gtk_create_prpl_icon_with_status()' to accept a scale factor because almost everywhere this function was used we would scale the pixbuf to a smaller size as soon as we got it. So there's a bit less code duplication. Also, I think I added some g_object_unref()'s in one or two places where it was missing. committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Wed, 01 Feb 2006 22:38:34 +0000
parents cb36bc2db7c5
children e1e5462b7d81
comparison
equal deleted inserted replaced
13089:b553326bc468 13090:0aa231ebbfd5
499 499
500 title = g_strdup_printf(_("Conversations with %s"), name); 500 title = g_strdup_printf(_("Conversations with %s"), name);
501 } 501 }
502 502
503 display_log_viewer(ht, gaim_log_get_logs(type, screenname, account), 503 display_log_viewer(ht, gaim_log_get_logs(type, screenname, account),
504 title, gaim_gtk_create_prpl_icon(account), gaim_log_get_total_size(type, screenname, account)); 504 title, gaim_gtk_create_prpl_icon(account, 0.5), gaim_log_get_total_size(type, screenname, account));
505 g_free(title); 505 g_free(title);
506 } 506 }
507 507
508 void gaim_gtk_log_show_contact(GaimContact *contact) { 508 void gaim_gtk_log_show_contact(GaimContact *contact) {
509 struct log_viewer_hash_t *ht = g_new0(struct log_viewer_hash_t, 1); 509 struct log_viewer_hash_t *ht = g_new0(struct log_viewer_hash_t, 1);