Make pidgin use report_disconnect_reason rather than report_disconnect, and
check purple_connection_reason_is_fatal rather than wants_to_die. (NB. Since
none of the protocols use error_reason yet, purple_connection_reason_is_fatal
is always true for now...)
#!/bin/bash
METHOD_NAME=$1
iftest-z"$METHOD_NAME"
then
cat<<EOF
This program calls purple API functions using DBus and prints the return value.
If you are not interested in the return value, use purple-send-async.