# HG changeset patch # User Tim Ringenbach # Date 1084777456 0 # Node ID 59f1eb8c76d2fdbf8ff2309ce6c06cf66934bb0b # Parent 4ff4c34b7500b8bb6a5ed2ed3b5807ece0146f2a [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 diff -r 4ff4c34b7500 -r 59f1eb8c76d2 src/gtkprefs.c --- a/src/gtkprefs.c Mon May 17 06:47:20 2004 +0000 +++ b/src/gtkprefs.c Mon May 17 07:04:16 2004 +0000 @@ -456,7 +456,7 @@ * LEAK - Gentoo memprof thinks pixbuf is leaking here... but it * looks like it should be ok to me. Anyone know what's up? --Mark */ - pixbuf = gdk_pixbuf_new_from_file(theme->icon, NULL); + pixbuf = (theme->icon ? gdk_pixbuf_new_from_file(theme->icon, NULL) : NULL); gtk_list_store_set(smiley_theme_store, &iter, 0, pixbuf,