Commit 928079d9 authored by cypherpunk's avatar cypherpunk
Browse files

	* otr-plugin.c: Track the gaim-2 API changes.
parent c89bbfc6
2006-01-20
* otr-plugin.c: Track the gaim-2 API changes.
2005-12-18
* gtk-dialog.c:
......
......@@ -423,7 +423,11 @@ static void otr_options_cb(GaimBlistNode *node, gpointer user_data)
static void supply_extended_menu(GaimBlistNode *node, GList **menu)
{
#if GAIM_MAJOR_VERSION < 2
GaimBlistNodeAction *act;
#else
GaimMenuAction *act;
#endif
GaimBuddy *buddy;
GaimAccount *acct;
const char *proto;
......@@ -440,7 +444,8 @@ static void supply_extended_menu(GaimBlistNode *node, GList **menu)
#if GAIM_MAJOR_VERSION < 2
act = gaim_blist_node_action_new("OTR Settings", otr_options_cb, NULL);
#else
act = gaim_blist_node_action_new("OTR Settings", otr_options_cb, NULL, NULL);
act = gaim_menu_action_new("OTR Settings", (GaimCallback)otr_options_cb,
NULL, NULL);
#endif
*menu = g_list_append(*menu, act);
}
......
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