Mercurial > pidgin
comparison src/gtkaccount.c @ 14187:95a4542e92d4
[gaim-migrate @ 16850]
... and also actually load the icon
committer: Tailor Script <tailor@pidgin.im>
author | Daniel Atallah <daniel.atallah@gmail.com> |
---|---|
date | Fri, 18 Aug 2006 22:41:44 +0000 |
parents | ad751ad39f23 |
children |
comparison
equal
deleted
inserted
replaced
14186:ad751ad39f23 | 14187:95a4542e92d4 |
---|---|
192 set_dialog_icon(AccountPrefsDialog *dialog) | 192 set_dialog_icon(AccountPrefsDialog *dialog) |
193 { | 193 { |
194 char *filename = gaim_buddy_icons_get_full_path(dialog->icon_path); | 194 char *filename = gaim_buddy_icons_get_full_path(dialog->icon_path); |
195 GdkPixbuf *pixbuf = NULL; | 195 GdkPixbuf *pixbuf = NULL; |
196 if (filename) | 196 if (filename) |
197 gdk_pixbuf_new_from_file(filename, NULL); | 197 pixbuf = gdk_pixbuf_new_from_file(filename, NULL); |
198 | 198 |
199 if (pixbuf && dialog->prpl_info && | 199 if (pixbuf && dialog->prpl_info && |
200 (dialog->prpl_info->icon_spec.scale_rules & GAIM_ICON_SCALE_DISPLAY)) | 200 (dialog->prpl_info->icon_spec.scale_rules & GAIM_ICON_SCALE_DISPLAY)) |
201 { | 201 { |
202 int width, height; | 202 int width, height; |