summaryrefslogtreecommitdiffstats
path: root/linux.c
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2011-12-28 15:57:36 -0800
committerGravatar Dirk Hohndel <dirk@hohndel.org>2011-12-28 15:57:36 -0800
commit565736a471e9ba66cbc68ce76c90d5e0c2fa57cf (patch)
treeacc50192d0b27d0e48dd6dcd958dd2b15a5f5d10 /linux.c
parenta8676438a72f3016daa74984def979797ded635a (diff)
downloadsubsurface-565736a471e9ba66cbc68ce76c90d5e0c2fa57cf.tar.gz
Make icon file name OS helper function
This way we can load the correct icon on the Mac without ugly hacks in the OS independent code. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'linux.c')
-rw-r--r--linux.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/linux.c b/linux.c
index ac5cf55f9..d2a92596e 100644
--- a/linux.c
+++ b/linux.c
@@ -51,3 +51,8 @@ const char *subsurface_USB_name()
{
return "/dev/ttyUSB0";
}
+
+const char *subsurface_icon_name()
+{
+ return "subsurface.svg";
+}