--- a/libpurple/protocols/irc/msgs.c Sat Jun 29 20:43:43 2013 +0530 +++ b/libpurple/protocols/irc/msgs.c Sat Jun 29 22:10:18 2013 +0530 @@ -688,7 +688,7 @@ names = cur = g_string_free(irc->names, FALSE); irc->names = NULL; - if (purple_conversation_get_data(convo, IRC_NAMES_FLAG)) { + if (g_object_get_data(G_OBJECT(convo), IRC_NAMES_FLAG)) { msg = g_strdup_printf(_("Users on %s: %s"), args[1], names ? names : ""); purple_conversation_write_message(convo, "", msg, PURPLE_MESSAGE_SYSTEM|PURPLE_MESSAGE_NO_LOG, time(NULL)); g_free(msg); @@ -736,7 +736,7 @@ g_list_free(flags); } - purple_conversation_set_data(convo, IRC_NAMES_FLAG, + g_object_set_data(G_OBJECT(convo), IRC_NAMES_FLAG, GINT_TO_POINTER(TRUE)); } g_free(names); @@ -978,7 +978,7 @@ purple_debug_error("irc", "tried to join %s but couldn't\n", args[0]); return; } - purple_conversation_set_data(PURPLE_CONVERSATION(chat), IRC_NAMES_FLAG, + g_object_set_data(G_OBJECT(chat), IRC_NAMES_FLAG, GINT_TO_POINTER(FALSE)); // Get the real name and user host for all participants.