diff -r 820a44d3d618 -r 7acdb1d9797c pidgin/gtkutils.c --- a/pidgin/gtkutils.c Mon Nov 05 17:12:49 2018 -0600 +++ b/pidgin/gtkutils.c Mon Nov 05 17:00:16 2018 -0600 @@ -1438,10 +1438,13 @@ im = TRUE; if (protocol && PURPLE_IS_PROTOCOL_XFER(protocol)) { - PurpleProtocolXferInterface *iface = PURPLE_PROTOCOL_XFER(protocol); + PurpleProtocolXferInterface *iface = + PURPLE_PROTOCOL_XFER_GET_IFACE(protocol); if(iface->can_receive) { - ft = purple_protocol_xfer_can_receive(protocol, gc, who); + ft = purple_protocol_xfer_can_receive( + PURPLE_PROTOCOL_XFER(protocol), + gc, who); } else { ft = (iface->send_file) ? TRUE : FALSE; } @@ -2356,7 +2359,7 @@ g_strfreev(protocol_formats); return NULL; } - original = g_object_ref(G_OBJECT(pixbuf)); + original = g_object_ref(pixbuf); new_width = orig_width; new_height = orig_height;