aboutsummaryrefslogtreecommitdiffstats
path: root/src/empathy-main-window.c
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 /src/empathy-main-window.c
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 'src/empathy-main-window.c')
-rw-r--r--src/empathy-main-window.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/empathy-main-window.c b/src/empathy-main-window.c
index 4aa5e4c9c..4aa38f5f4 100644
--- a/src/empathy-main-window.c
+++ b/src/empathy-main-window.c
@@ -940,7 +940,7 @@ static void
main_window_view_show_map_cb (GtkCheckMenuItem *item,
EmpathyMainWindow *window)
{
-#if HAVE_LIBCHAMPLAIN
+#ifdef HAVE_LIBCHAMPLAIN
empathy_map_view_show ();
#endif
}
@@ -1600,7 +1600,7 @@ empathy_main_window_init (EmpathyMainWindow *window)
g_object_ref (priv->ui_manager);
g_object_unref (gui);
-#if !HAVE_LIBCHAMPLAIN
+#ifndef HAVE_LIBCHAMPLAIN
gtk_action_set_visible (show_map_widget, FALSE);
#endif