summaryrefslogtreecommitdiff
path: root/gtk/gtkquartz.c
diff options
context:
space:
mode:
Diffstat (limited to 'gtk/gtkquartz.c')
-rw-r--r--gtk/gtkquartz.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/gtk/gtkquartz.c b/gtk/gtkquartz.c
index 7f36e9e6a5..74570005cd 100644
--- a/gtk/gtkquartz.c
+++ b/gtk/gtkquartz.c
@@ -311,8 +311,9 @@ _gtk_quartz_set_selection_data_for_pasteboard (NSPasteboard *pasteboard,
forType:type];
}
-/*
- * Bundle-based functions for various directories. These almost work
+#ifdef QUARTZ_RELOCATION
+
+/* Bundle-based functions for various directories. These almost work
* even when the application isn't in a bundle, becuase mainBundle
* paths point to the bin directory in that case. It's a simple matter
* to test for that and remove the last element.
@@ -392,3 +393,5 @@ _gtk_get_data_prefix (void)
{
return get_bundle_path ();
}
+
+#endif /* QUARTZ_RELOCATION */