Mercurial > pidgin
comparison src/gtkprefs.c @ 8963:59f1eb8c76d2
[gaim-migrate @ 9737]
A one liner from Kevin that he says fixed a warning with opening the
preference dialog because the None theme doesn't have an icon.
committer: Tailor Script <tailor@pidgin.im>
author | Tim Ringenbach <marv@pidgin.im> |
---|---|
date | Mon, 17 May 2004 07:04:16 +0000 |
parents | dfa1cd98d1c7 |
children | cd1c9bbab491 |
comparison
equal
deleted
inserted
replaced
8962:4ff4c34b7500 | 8963:59f1eb8c76d2 |
---|---|
454 | 454 |
455 /* | 455 /* |
456 * LEAK - Gentoo memprof thinks pixbuf is leaking here... but it | 456 * LEAK - Gentoo memprof thinks pixbuf is leaking here... but it |
457 * looks like it should be ok to me. Anyone know what's up? --Mark | 457 * looks like it should be ok to me. Anyone know what's up? --Mark |
458 */ | 458 */ |
459 pixbuf = gdk_pixbuf_new_from_file(theme->icon, NULL); | 459 pixbuf = (theme->icon ? gdk_pixbuf_new_from_file(theme->icon, NULL) : NULL); |
460 | 460 |
461 gtk_list_store_set(smiley_theme_store, &iter, | 461 gtk_list_store_set(smiley_theme_store, &iter, |
462 0, pixbuf, | 462 0, pixbuf, |
463 1, description, | 463 1, description, |
464 2, theme->path, | 464 2, theme->path, |