diff options
author | Philip Withnall <philip.withnall@collabora.co.uk> | 2010-07-08 18:09:54 +0800 |
---|---|---|
committer | Philip Withnall <philip.withnall@collabora.co.uk> | 2010-08-05 22:37:06 +0800 |
commit | 5cc326f741ab695e4fac8f4c4ccd99cf235115fc (patch) | |
tree | 08cf9567bcd1b286f6526f70ab24f3fdb5ea411c /libempathy | |
parent | fd4fddb72a34a446b06068b0aeeba4e04b6f57c3 (diff) | |
download | gsoc2013-empathy-5cc326f741ab695e4fac8f4c4ccd99cf235115fc.tar gsoc2013-empathy-5cc326f741ab695e4fac8f4c4ccd99cf235115fc.tar.gz gsoc2013-empathy-5cc326f741ab695e4fac8f4c4ccd99cf235115fc.tar.bz2 gsoc2013-empathy-5cc326f741ab695e4fac8f4c4ccd99cf235115fc.tar.lz gsoc2013-empathy-5cc326f741ab695e4fac8f4c4ccd99cf235115fc.tar.xz gsoc2013-empathy-5cc326f741ab695e4fac8f4c4ccd99cf235115fc.tar.zst gsoc2013-empathy-5cc326f741ab695e4fac8f4c4ccd99cf235115fc.zip |
Use #ifdef instead of #if to avoid warnings of undefined symbols
Diffstat (limited to 'libempathy')
-rw-r--r-- | libempathy/empathy-contact.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/libempathy/empathy-contact.c b/libempathy/empathy-contact.c index df8a1ffe4..e7286ac84 100644 --- a/libempathy/empathy-contact.c +++ b/libempathy/empathy-contact.c @@ -32,7 +32,7 @@ #include <folks/folks.h> #include <folks/folks-telepathy.h> -#if HAVE_GEOCLUE +#ifdef HAVE_GEOCLUE #include <geoclue/geoclue-geocode.h> #endif @@ -75,7 +75,7 @@ static void contact_get_property (GObject *object, guint param_id, static void contact_set_property (GObject *object, guint param_id, const GValue *value, GParamSpec *pspec); -#if HAVE_GEOCLUE +#ifdef HAVE_GEOCLUE static void update_geocode (EmpathyContact *contact); #endif @@ -1349,7 +1349,7 @@ empathy_contact_set_location (EmpathyContact *contact, g_hash_table_unref (priv->location); priv->location = g_hash_table_ref (location); -#if HAVE_GEOCLUE +#ifdef HAVE_GEOCLUE update_geocode (contact); #endif g_object_notify (G_OBJECT (contact), "location"); @@ -1392,7 +1392,7 @@ empathy_contact_equal (gconstpointer contact1, return FALSE; } -#if HAVE_GEOCLUE +#ifdef HAVE_GEOCLUE #define GEOCODE_SERVICE "org.freedesktop.Geoclue.Providers.Yahoo" #define GEOCODE_PATH "/org/freedesktop/Geoclue/Providers/Yahoo" |