summaryrefslogtreecommitdiffstats
path: root/unix/tkUnixSysTray.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2020-09-24 06:13:22 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2020-09-24 06:13:22 (GMT)
commit454614a38dfb1db1931eb58c16e3c8eb4f3c10b8 (patch)
tree71277fe16b3a5e2481455069f07078989e43e3fd /unix/tkUnixSysTray.c
parentebc1677c589d03c1bd29d1f9d4e974db70b49949 (diff)
downloadtk-454614a38dfb1db1931eb58c16e3c8eb4f3c10b8.zip
tk-454614a38dfb1db1931eb58c16e3c8eb4f3c10b8.tar.gz
tk-454614a38dfb1db1931eb58c16e3c8eb4f3c10b8.tar.bz2
Make it build with --disable-libnotify. Add packages for MacOSX and Ubuntu for Travis build
Diffstat (limited to 'unix/tkUnixSysTray.c')
-rw-r--r--unix/tkUnixSysTray.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/unix/tkUnixSysTray.c b/unix/tkUnixSysTray.c
index 604b240..4e5f5ff 100644
--- a/unix/tkUnixSysTray.c
+++ b/unix/tkUnixSysTray.c
@@ -15,6 +15,8 @@
#include <tk.h>
#include "tkUnixInt.h"
+#ifdef HAVE_LIBNOTIFY
+
/*
* Based extensively on the tktray extension package. Here we are removing
* non-essential parts of tktray.
@@ -1694,6 +1696,8 @@ int Tktray_Init ( Tcl_Interp* interp )
return TCL_OK;
}
+#endif /* HAVE_LIBNOTIFY */
+
/*
* Local Variables:
* mode: objc