about summary refs log tree commit diff stats
path: root/src/ui/notifier.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui/notifier.c')
-rw-r--r--src/ui/notifier.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/ui/notifier.c b/src/ui/notifier.c
index 7c366434..16fd814f 100644
--- a/src/ui/notifier.c
+++ b/src/ui/notifier.c
@@ -206,6 +206,7 @@ _notify(const char * const message, int timeout,
 
     Shell_NotifyIcon(NIM_MODIFY, &nid);
 #endif
+#ifdef HAVE_OSXNOTIFY
     GString *notify_command = g_string_new("terminal-notifier -title 'Profanity' -message '");
     g_string_append(notify_command, message);
     g_string_append(notify_command, "'");
@@ -229,6 +230,7 @@ _notify(const char * const message, int timeout,
     }
 
     g_string_free(notify_command, TRUE);
+#endif
 }
 
 void