Mercurial > pidgin
changeset 32538:c525ec501589
Fix a minor GLib assert thing.
author | Elliott Sales de Andrade <qulogic@pidgin.im> |
---|---|
date | Thu, 23 Feb 2012 04:07:32 +0000 |
parents | c6d0ca15925e |
children | e946a9998052 |
files | pidgin/gtkdialogs.c |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/pidgin/gtkdialogs.c Thu Feb 23 04:05:51 2012 +0000 +++ b/pidgin/gtkdialogs.c Thu Feb 23 04:07:32 2012 +0000 @@ -808,7 +808,8 @@ plugin = (PurplePlugin *)l->data; pname = g_markup_escape_text(purple_plugin_get_name(plugin), -1); - pauthor = g_markup_escape_text(purple_plugin_get_author(plugin), -1); + if ((pauthor = (char *)purple_plugin_get_author(plugin)) != NULL) + pauthor = g_markup_escape_text(pauthor, -1); pver = purple_plugin_get_version(plugin); pwebsite = purple_plugin_get_homepage(plugin); pid = purple_plugin_get_id(plugin);