stkagent: typedef renaming from previous commit

This commit is contained in:
Denis Kenzior 2011-03-30 12:04:10 -05:00
parent 70ae73d78b
commit 91d8423458
2 changed files with 4 additions and 4 deletions

View File

@ -1085,7 +1085,7 @@ int stk_agent_confirm_launch_browser(struct stk_agent *agent, const char *text,
static void display_action_cb(DBusPendingCall *call, void *data)
{
struct stk_agent *agent = data;
stk_agent_user_termination_cb cb = agent->user_cb;
stk_agent_display_action_cb cb = agent->user_cb;
DBusMessage *reply = dbus_pending_call_steal_reply(call);
enum stk_agent_result result;
gboolean remove_agent;
@ -1111,7 +1111,7 @@ static void display_action_cb(DBusPendingCall *call, void *data)
int stk_agent_display_action(struct stk_agent *agent,
const char *text,
const struct stk_icon_id *icon,
stk_agent_user_termination_cb cb,
stk_agent_display_action_cb cb,
void *user_data,
ofono_destroy_func destroy)
{

View File

@ -60,7 +60,7 @@ typedef void (*stk_agent_string_cb)(enum stk_agent_result result,
typedef void (*stk_agent_tone_cb)(enum stk_agent_result result,
void *user_data);
typedef void (*stk_agent_user_termination_cb)(enum stk_agent_result result,
typedef void (*stk_agent_display_action_cb)(enum stk_agent_result result,
void *user_data);
struct stk_agent *stk_agent_new(const char *path, const char *sender,
@ -153,6 +153,6 @@ int stk_agent_confirm_launch_browser(struct stk_agent *agent, const char *text,
int stk_agent_display_action(struct stk_agent *agent, const char *text,
const struct stk_icon_id *icon,
stk_agent_user_termination_cb cb,
stk_agent_display_action_cb cb,
void *user_data,
ofono_destroy_func destroy);