Commit a4c4abc7 authored by Romain Bignon's avatar Romain Bignon

fix compatibility with libpurple 2.8+

parent 1d12c685
......@@ -320,6 +320,10 @@ static PurplePluginProtocolInfo prpl_info =
NULL, /* set_public_alias */
NULL /* get_public_alias */
#endif
#if (PURPLE_MAJOR_VERSION == 2 && PURPLE_MINOR_VERSION >= 8)
, NULL, /* add_buddy_with_invite */
NULL /* add_budies_with_invite */
#endif
};
static gboolean load_plugin (PurplePlugin *plugin) {
......
......@@ -188,6 +188,10 @@ static PurplePluginProtocolInfo ga_plugin_prpl_info =
NULL, /* set_public_alias */
NULL /* get_public_alias */
#endif
#if (PURPLE_MAJOR_VERSION == 2 && PURPLE_MINOR_VERSION >= 8)
, NULL, /* add_buddy_with_invite */
NULL /* add_budies_with_invite */
#endif
};
static gboolean ga_plugin_load (PurplePlugin *plugin) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment