aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy-gtk
diff options
context:
space:
mode:
authorPhilip Withnall <philip.withnall@collabora.co.uk>2010-07-08 18:09:54 +0800
committerPhilip Withnall <philip.withnall@collabora.co.uk>2010-08-05 22:37:06 +0800
commit5cc326f741ab695e4fac8f4c4ccd99cf235115fc (patch)
tree08cf9567bcd1b286f6526f70ab24f3fdb5ea411c /libempathy-gtk
parentfd4fddb72a34a446b06068b0aeeba4e04b6f57c3 (diff)
downloadgsoc2013-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-gtk')
-rw-r--r--libempathy-gtk/empathy-contact-widget.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/libempathy-gtk/empathy-contact-widget.c b/libempathy-gtk/empathy-contact-widget.c
index 4ff25b974..de958c32e 100644
--- a/libempathy-gtk/empathy-contact-widget.c
+++ b/libempathy-gtk/empathy-contact-widget.c
@@ -27,7 +27,7 @@
#include <gtk/gtk.h>
#include <glib/gi18n-lib.h>
-#if HAVE_LIBCHAMPLAIN
+#ifdef HAVE_LIBCHAMPLAIN
#include <champlain/champlain.h>
#include <champlain-gtk/champlain-gtk.h>
#endif
@@ -107,7 +107,7 @@ typedef struct
GtkWidget *subvbox_location;
GtkWidget *table_location;
GtkWidget *label_location;
-#if HAVE_LIBCHAMPLAIN
+#ifdef HAVE_LIBCHAMPLAIN
GtkWidget *viewport_map;
GtkWidget *map_view_embed;
ChamplainView *map_view;
@@ -1033,7 +1033,7 @@ contact_widget_location_update (EmpathyContactWidget *information)
row++;
}
-#if HAVE_LIBCHAMPLAIN
+#ifdef HAVE_LIBCHAMPLAIN
if (has_position &&
!(information->flags & EMPATHY_CONTACT_WIDGET_FOR_TOOLTIP))
{
@@ -1055,7 +1055,7 @@ contact_widget_location_update (EmpathyContactWidget *information)
return;
}
-#if HAVE_LIBCHAMPLAIN
+#ifdef HAVE_LIBCHAMPLAIN
if (display_map)
{
ClutterActor *marker;
@@ -1868,7 +1868,7 @@ empathy_contact_widget_new (EmpathyContact *contact,
"vbox_location", &information->vbox_location,
"subvbox_location", &information->subvbox_location,
"label_location", &information->label_location,
-#if HAVE_LIBCHAMPLAIN
+#ifdef HAVE_LIBCHAMPLAIN
"viewport_map", &information->viewport_map,
#endif
"vbox_groups", &information->vbox_groups,