Don't use gconf on Windows

So far this just removes the gconf code - so no preferences for Windows.

It also removes the unsused gconf references in main.c

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Dirk Hohndel 2011-10-27 22:10:35 -07:00
parent 8961033574
commit bf7d70fe8b
2 changed files with 11 additions and 7 deletions

5
main.c
View file

@ -4,16 +4,11 @@
#include <stdlib.h>
#include <time.h>
#include <gconf/gconf-client.h>
#include "dive.h"
#include "divelist.h"
GConfClient *gconf;
struct units output_units;
#define GCONF_NAME(x) "/apps/subsurface/" #x
/* random helper functions, used here or elsewhere */
static int sortfn(const void *_a, const void *_b)
{