aboutsummaryrefslogtreecommitdiffstats
path: root/macos.c
diff options
context:
space:
mode:
authorGravatar Henrik Brautaset Aronsen <subsurface@henrik.synth.no>2013-05-22 14:35:42 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2013-05-22 06:20:26 -0700
commit375faa5cff7f220842491333aa222255be48588e (patch)
treeff958c4f6213a03022b0d5d35e9afb4a8e0ffbca /macos.c
parent478baf107623c3aa0c31c3256cfc3bc794b089b1 (diff)
downloadsubsurface-375faa5cff7f220842491333aa222255be48588e.tar.gz
Disable some MacOSX GTK dependencies
Now it's actually possible to build the Qt variant on MacOSX with MacPorts and marble support. Signed-off-by: Henrik Brautaset Aronsen <subsurface@henrik.synth.no> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'macos.c')
-rw-r--r--macos.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/macos.c b/macos.c
index b43849f87..75c86edf2 100644
--- a/macos.c
+++ b/macos.c
@@ -9,11 +9,8 @@
#include <CoreFoundation/CoreFoundation.h>
#include <CoreServices/CoreServices.h>
#include <mach-o/dyld.h>
-#include "gtkosxapplication.h"
#include <sys/syslimits.h>
-static GtkosxApplication *osx_app;
-
/* macos defines CFSTR to create a CFString object from a constant,
* but no similar macros if a C string variable is supposed to be
* the argument. We add this here (hardcoding the default allocator
@@ -98,6 +95,7 @@ void subsurface_close_conf(void)
/* Nothing */
}
+#if USE_GTK_UI
int subsurface_fill_device_list(GtkListStore *store)
{
int i = 0;
@@ -149,6 +147,7 @@ int subsurface_fill_device_list(GtkListStore *store)
}
return index;
}
+#endif
const char *subsurface_icon_name()
{