summaryrefslogtreecommitdiffstats
path: root/libdivecomputer.c
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2013-10-06 17:32:50 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2013-10-06 17:32:50 -0700
commit34db6dc2bea6173c070c9820a2e57a511b9ca0b1 (patch)
treef28829624738d01c114bf84728d23c4e659f5e63 /libdivecomputer.c
parentc3f07b9f81f09421a92d42d1b98e7c984b75e20d (diff)
downloadsubsurface-34db6dc2bea6173c070c9820a2e57a511b9ca0b1.tar.gz
Delete code and files that are no longer used
Most of this is Gtk related, some of it is helpers that we don't need anymore. I love the diffstat. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'libdivecomputer.c')
-rw-r--r--libdivecomputer.c18
1 files changed, 0 insertions, 18 deletions
diff --git a/libdivecomputer.c b/libdivecomputer.c
index a60131614..0569689ec 100644
--- a/libdivecomputer.c
+++ b/libdivecomputer.c
@@ -7,9 +7,6 @@
#include "device.h"
#include "divelist.h"
#include "display.h"
-#ifdef USE_GTK_UI
-#include "display-gtk.h"
-#endif
#include "libdivecomputer.h"
#include "libdivecomputer/version.h"
@@ -28,21 +25,6 @@ double progress_bar_fraction = 0.0;
static int stoptime, stopdepth, ndl, po2, cns;
static bool in_deco, first_temp_is_air;
-#if USE_GTK_UI
-static GError *error(const char *fmt, ...)
-{
- va_list args;
- GError *error;
-
- va_start(args, fmt);
- error = g_error_new_valist(
- g_quark_from_string("subsurface"),
- DIVE_ERROR_PARSE, fmt, args);
- va_end(args);
- return error;
-}
-#endif
-
static dc_status_t create_parser(device_data_t *devdata, dc_parser_t **parser)
{
return dc_parser_new(parser, devdata->device);