mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
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>
This commit is contained in:
parent
c3f07b9f81
commit
34db6dc2be
17 changed files with 4 additions and 7245 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue