diff -r d9079090f7fe -r f14347f38e3b pidgin/gtkutils.c --- a/pidgin/gtkutils.c Fri Jun 28 23:14:54 2013 +0530 +++ b/pidgin/gtkutils.c Sat Jun 29 00:14:56 2013 +0530 @@ -1393,7 +1393,7 @@ serv_send_file(purple_account_get_connection(data->account), data->who, data->filename); break; case DND_IM_IMAGE: - conv = purple_im_conversation_new(data->account, data->who); + conv = PURPLE_CONVERSATION(purple_im_conversation_new(data->account, data->who)); gtkconv = PIDGIN_CONVERSATION(conv); if (!g_file_get_contents(data->filename, &filedata, &size, @@ -1573,7 +1573,7 @@ PidginConversation *gtkconv; case PURPLE_DESKTOP_ITEM_TYPE_LINK: - conv = purple_im_conversation_new(account, who); + conv = PURPLE_CONVERSATION(purple_im_conversation_new(account, who)); gtkconv = PIDGIN_CONVERSATION(conv); gtk_webview_insert_link(GTK_WEBVIEW(gtkconv->entry), purple_desktop_item_get_string(item, "URL"),