aboutsummaryrefslogtreecommitdiffstats
path: root/src/empathy-main-window.c
diff options
context:
space:
mode:
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