diff pidgin/gtkdialogs.c @ 32808:2fdc668362f0

Use the purple_group_get_name() accessor function.
author andrew.victor@mxit.com
date Mon, 31 Oct 2011 19:00:39 +0000
parents b6276b10cb10
children 76096c42f558
line wrap: on
line diff
--- a/pidgin/gtkdialogs.c	Mon Oct 31 02:29:25 2011 +0000
+++ b/pidgin/gtkdialogs.c	Mon Oct 31 19:00:39 2011 +0000
@@ -1233,7 +1233,7 @@
 
 	text = g_strdup_printf(
 				_("You are about to merge the group called %s into the group "
-				"called %s. Do you want to continue?"), source->name, new_name);
+				"called %s. Do you want to continue?"), purple_group_get_name(source), new_name);
 
 	ggp = g_new(struct _PidginGroupMergeObject, 1);
 	ggp->parent = source;
@@ -1293,7 +1293,7 @@
 	g_return_if_fail(group != NULL);
 
 	text = g_strdup_printf(_("You are about to remove the group %s and all its members from your buddy list.  Do you want to continue?"),
-						   group->name);
+						   purple_group_get_name(group));
 
 	purple_request_action(group, NULL, _("Remove Group"), text, 0,
 						NULL, NULL, NULL,