--- a/finch/gntconv.c Thu Dec 14 22:11:15 2017 -0600
+++ b/finch/gntconv.c Thu Dec 28 21:28:09 2017 -0600
@@ -719,7 +719,7 @@
gnt_menu_add_item(GNT_MENU(sub), item);
gnt_menuitem_set_callback(item, add_pounce_cb, ggc);
- if (PURPLE_IS_PROTOCOL_XFER(protocol) &&
+ if (PURPLE_IS_PROTOCOL_XFER(protocol) && purple_protocol_xfer_can_receive(
PURPLE_PROTOCOL_XFER(protocol),
--- a/libpurple/tests/meson.build Thu Dec 14 22:11:15 2017 -0600
+++ b/libpurple/tests/meson.build Thu Dec 28 21:28:09 2017 -0600
@@ -19,12 +19,12 @@
- e = executable('test_' + prog, 'test_@0@.c'.format(prog),
- '-DTEST_DATA_DIR="@0@/data"'.format(meson.current_source_dir())
- dependencies : [libpurple_dep, glib, dbus, dbus_glib],
+ e = executable('test_' + prog, 'test_@0@.c'.format(prog), + '-DTEST_DATA_DIR="@0@/data"'.format(meson.current_source_dir()) + dependencies : [libpurple_dep, glib, dbus, dbus_glib],
--- a/libpurple/xfer.h Thu Dec 14 22:11:15 2017 -0600
+++ b/libpurple/xfer.h Thu Dec 28 21:28:09 2017 -0600
@@ -192,7 +192,7 @@
- * PurpleProtocolXferIface:
+ * PurpleProtocolXferInterface: * The protocol file transfer interface.
@@ -990,7 +990,7 @@
* purple_protocol_xfer_can_receive:
* @prplxfer: The #PurpleProtocolXfer implementer instance
* @connection: The #PurpleConnection that we're checking
- * @who: The user that we want to set a file transfer to.
+ * @who: The user that we want to send a file transfer to. * Checks whether or not we can transfer a file to @who.
@@ -1000,7 +1000,7 @@
* purple_protocol_xfer_send:
- * @prplxfer: The #PurpleProtocolXfer inmplementer instance
+ * @prplxfer: The #PurpleProtocolXfer implementer instance * @connection: The #PurpleConnection that we're checking
* @who: The user that we want to set a file transfer to.
* @filename: The name of the file to send.
@@ -1013,7 +1013,7 @@
* purple_protocol_xfer_send:
* @prplxfer: The #PurpleProtocolXfer implementer instance
* @connection: The #PurpleConnection that we're checking
- * @who: The user that we want to set a file transfer to.
+ * @who: The user that we want to send a file transfer to. * Creates a new #PurpleXfer to @who.