Changeset e4530cd5 in subsurface


Ignore:
Timestamp:
Dec 21, 2017, 6:11:15 AM (5 weeks ago)
Author:
Jan Mulder <jlmulder@…>
Branches:
master
Children:
935fb3c
Parents:
28ae35e
git-author:
Jan Mulder <jlmulder@…> (12/21/17 00:05:08)
git-committer:
Jan Mulder <jlmulder@…> (12/21/17 06:11:15)
Message:

cleanup: remove empty function

subsurface_OS_pref_setup() is not not used. Remove it.

Signed-off-by: Jan Mulder <jlmulder@…>

Location:
core
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • core/linux.c

    r04f38d61 re4530cd5  
    1818const char *system_divelist_default_font = linux_system_divelist_default_font;
    1919double system_divelist_default_font_size = -1.0;
    20 
    21 void subsurface_OS_pref_setup(void)
    22 {
    23         // nothing
    24 }
    2520
    2621bool subsurface_ignore_font(const char *font)
  • core/pref.h

    r4fb01dd re4530cd5  
    189189extern const char *system_default_filename();
    190190extern bool subsurface_ignore_font(const char *font);
    191 extern void subsurface_OS_pref_setup();
    192191extern void copy_prefs(struct preferences *src, struct preferences *dest);
    193192
  • core/subsurfacestartup.c

    r1c2127d re4530cd5  
    291291        const char *env;
    292292
    293         subsurface_OS_pref_setup();
    294293        default_prefs.divelist_font = strdup(system_divelist_default_font);
    295294        default_prefs.font_size = system_divelist_default_font_size;
Note: See TracChangeset for help on using the changeset viewer.