about summary refs log tree commit diff stats
path: root/src/ui
diff options
context:
space:
mode:
authorJames Booth <boothj5@gmail.com>2016-02-04 00:21:38 +0000
committerJames Booth <boothj5@gmail.com>2016-02-04 00:21:38 +0000
commit834226560707358c47d85d16bd85a49e218ef2d8 (patch)
treea783a5d55a168ab72099e1f85bb274f65f8a8fbf /src/ui
parentbab75cae155b9a6b55afe404f674b7edc3eb8fa1 (diff)
downloadprofani-tty-834226560707358c47d85d16bd85a49e218ef2d8.tar.gz
Removed unused arg: prefs_do_chat_notify()
Diffstat (limited to 'src/ui')
-rw-r--r--src/ui/chatwin.c2
-rw-r--r--src/ui/notifier.c2
-rw-r--r--src/ui/privwin.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/src/ui/chatwin.c b/src/ui/chatwin.c
index 05751f6c..718c6809 100644
--- a/src/ui/chatwin.c
+++ b/src/ui/chatwin.c
@@ -240,7 +240,7 @@ chatwin_incoming_msg(ProfChatWin *chatwin, const char *const resource, const cha
     char *display_name = roster_get_msg_display_name(chatwin->barejid, resource);
 
     gboolean is_current = wins_is_current(window);
-    gboolean notify = prefs_do_chat_notify(is_current, message);
+    gboolean notify = prefs_do_chat_notify(is_current);
 
     // currently viewing chat window with sender
     if (wins_is_current(window)) {
diff --git a/src/ui/notifier.c b/src/ui/notifier.c
index 9a185e38..30497fe3 100644
--- a/src/ui/notifier.c
+++ b/src/ui/notifier.c
@@ -140,7 +140,7 @@ notify_remind(void)
     gdouble elapsed = g_timer_elapsed(remind_timer, NULL);
     gint remind_period = prefs_get_notify_remind();
     if (remind_period > 0 && elapsed >= remind_period) {
-        gboolean notify = wins_get_notify();
+        gboolean notify = wins_do_notify_remind();
         gint unread = wins_get_total_unread();
         gint open = muc_invites_count();
         gint subs = presence_sub_request_count();
diff --git a/src/ui/privwin.c b/src/ui/privwin.c
index 00c50bb6..36cc29c7 100644
--- a/src/ui/privwin.c
+++ b/src/ui/privwin.c
@@ -57,7 +57,7 @@ privwin_incoming_msg(ProfPrivateWin *privatewin, const char *const message, GDat
     }
 
     gboolean is_current = wins_is_current(window);
-    gboolean notify = prefs_do_chat_notify(is_current, message);
+    gboolean notify = prefs_do_chat_notify(is_current);
 
     // currently viewing chat window with sender
     if (wins_is_current(window)) {