From 5cc326f741ab695e4fac8f4c4ccd99cf235115fc Mon Sep 17 00:00:00 2001 From: Philip Withnall Date: Thu, 8 Jul 2010 11:09:54 +0100 Subject: Use #ifdef instead of #if to avoid warnings of undefined symbols --- libempathy/empathy-contact.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'libempathy/empathy-contact.c') 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 #include -#if HAVE_GEOCLUE +#ifdef HAVE_GEOCLUE #include #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" -- cgit v1.2.3