aboutsummaryrefslogtreecommitdiffstats
path: root/vncviewer/vncviewer.cxx
diff options
context:
space:
mode:
authorPierre Ossman <ossman@cendio.se>2015-03-04 09:54:27 +0100
committerPierre Ossman <ossman@cendio.se>2015-03-04 09:54:27 +0100
commit8d713a92af919eabad37c540b728eda1ebb34e38 (patch)
tree8b4103c8d7c6d829f5fe104f645105709b81255d /vncviewer/vncviewer.cxx
parent3b865f1373b54240031b9fadf4a7bfaec53b4145 (diff)
downloadtigervnc-8d713a92af919eabad37c540b728eda1ebb34e38.tar.gz
tigervnc-8d713a92af919eabad37c540b728eda1ebb34e38.zip
Hide OS X specific callback when not needed
Diffstat (limited to 'vncviewer/vncviewer.cxx')
-rw-r--r--vncviewer/vncviewer.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/vncviewer/vncviewer.cxx b/vncviewer/vncviewer.cxx
index a60f000a..34bc3be4 100644
--- a/vncviewer/vncviewer.cxx
+++ b/vncviewer/vncviewer.cxx
@@ -102,10 +102,12 @@ void about_vncviewer()
fl_message("%s", aboutText);
}
+#ifdef __APPLE__
static void about_callback(Fl_Widget *widget, void *data)
{
about_vncviewer();
}
+#endif
static void CleanupSignalHandler(int sig)
{