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
26
linux.c
26
linux.c
|
@ -9,21 +9,6 @@
|
|||
|
||||
const char system_divelist_default_font[] = "Sans 8";
|
||||
|
||||
void subsurface_flush_conf(void)
|
||||
{
|
||||
/* this is a no-op */
|
||||
}
|
||||
|
||||
void subsurface_close_conf(void)
|
||||
{
|
||||
/* this is a no-op */
|
||||
}
|
||||
|
||||
const char *subsurface_icon_name()
|
||||
{
|
||||
return "subsurface-icon.svg";
|
||||
}
|
||||
|
||||
const char *system_default_filename(void)
|
||||
{
|
||||
const char *home, *user;
|
||||
|
@ -38,17 +23,6 @@ const char *system_default_filename(void)
|
|||
return buffer;
|
||||
}
|
||||
|
||||
const char *subsurface_gettext_domainpath(char *argv0)
|
||||
{
|
||||
if (argv0[0] == '.') {
|
||||
/* we're starting a local copy */
|
||||
return "./share/locale";
|
||||
} else {
|
||||
/* subsurface is installed, so system dir should be fine */
|
||||
return NULL;
|
||||
}
|
||||
}
|
||||
|
||||
void subsurface_command_line_init(int *argc, char ***argv)
|
||||
{
|
||||
/* this is a no-op */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue