summaryrefslogtreecommitdiff
path: root/modules/gtk/gtk_mod.c
diff options
context:
space:
mode:
Diffstat (limited to 'modules/gtk/gtk_mod.c')
-rw-r--r--modules/gtk/gtk_mod.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/modules/gtk/gtk_mod.c b/modules/gtk/gtk_mod.c
index f1d8711..a7f83eb 100644
--- a/modules/gtk/gtk_mod.c
+++ b/modules/gtk/gtk_mod.c
@@ -180,7 +180,6 @@ static void menu_on_presence_set(GtkMenuItem *item, struct gtk_mod *mod)
}
-#ifdef USE_NOTIFICATIONS
static void menu_on_incoming_call_answer(GtkMenuItem *menuItem,
struct gtk_mod *mod)
{
@@ -197,7 +196,6 @@ static void menu_on_incoming_call_reject(GtkMenuItem *menuItem,
denotify_incoming_call(mod, call);
mqueue_push(mod->mq, MQ_HANGUP, call);
}
-#endif
static GtkMenuItem *accounts_menu_add_item(struct gtk_mod *mod,
@@ -494,11 +492,9 @@ static void ua_event_handler(struct ua *ua,
accounts_menu_set_status(mod, ua, ev);
break;
-#ifdef USE_NOTIFICATIONS
case UA_EVENT_CALL_INCOMING:
notify_incoming_call(mod, call);
break;
-#endif
case UA_EVENT_CALL_CLOSED:
win = get_call_window(mod, call);