pidgin: b7b0b529: Fix a minor GLib assert thing.

qulogic at pidgin.im qulogic at pidgin.im
Thu Feb 23 04:06:23 EST 2012


----------------------------------------------------------------------
Revision: b7b0b5290c456196861e81202998c136a1f2f27e
Parent:   4a11fb56507f8d30842476c8e1042117c3e74a3b
Author:   qulogic at pidgin.im
Date:     02/22/12 23:07:32
Branch:   im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/b7b0b5290c456196861e81202998c136a1f2f27e

Changelog: 

Fix a minor GLib assert thing.

Changes against parent 4a11fb56507f8d30842476c8e1042117c3e74a3b

  patched  pidgin/gtkdialogs.c

-------------- next part --------------
============================================================
--- pidgin/gtkdialogs.c	cd54cdcb93a130c84b318589f7638465d5cb289c
+++ pidgin/gtkdialogs.c	e182c424c57d49c9e191292bfda499c6815a84db
@@ -808,7 +808,8 @@ void pidgin_dialogs_plugins_info(void)
 		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);


More information about the Commits mailing list