summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/stkagent.c4
-rw-r--r--src/stkagent.h4
2 files changed, 4 insertions, 4 deletions
diff --git a/src/stkagent.c b/src/stkagent.c
index 15ad4fab..54ca575a 100644
--- a/src/stkagent.c
+++ b/src/stkagent.c
@@ -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)
{
diff --git a/src/stkagent.h b/src/stkagent.h
index fd608249..4b5d0a6a 100644
--- a/src/stkagent.h
+++ b/src/stkagent.h
@@ -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);