Sun, 06 Nov 2005 23:20:21 +0000
[gaim-migrate @ 14290]
hopefully fix a warning i'm not getting
| src/gtkstatusbox.c | file | annotate | diff | comparison | revisions |
--- a/src/gtkstatusbox.c Sun Nov 06 23:09:07 2005 +0000 +++ b/src/gtkstatusbox.c Sun Nov 06 23:20:21 2005 +0000 @@ -285,7 +285,7 @@ char *filename; GaimPluginProtocolInfo *prpl_info = NULL; GaimPlugin *plugin; - const char *proto_name, *type_name; + const char *proto_name = NULL, *type_name; GdkPixbuf *pixbuf, *scale = NULL, *emblem; @@ -294,6 +294,8 @@ if (plugin != NULL) { prpl_info = GAIM_PLUGIN_PROTOCOL_INFO(plugin); proto_name = prpl_info->list_icon(account, NULL); + } else { + return NULL; } g_snprintf(basename2, sizeof(basename2), "%s.png",