aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy-gtk
diff options
context:
space:
mode:
authorPierre-Luc Beaudoin <pierre-luc@pierlux.com>2009-05-12 23:04:51 +0800
committerPierre-Luc Beaudoin <pierre-luc@pierlux.com>2009-05-28 00:52:06 +0800
commit966169f0cf3e245c57c4c7461a2715d56e08fa1a (patch)
tree3342e211b6a901443ba98f49e95fe31cd69d8c08 /libempathy-gtk
parentb1c0e81a7c6e6ff591aa69c6211f676336c14e15 (diff)
downloadgsoc2013-empathy-966169f0cf3e245c57c4c7461a2715d56e08fa1a.tar
gsoc2013-empathy-966169f0cf3e245c57c4c7461a2715d56e08fa1a.tar.gz
gsoc2013-empathy-966169f0cf3e245c57c4c7461a2715d56e08fa1a.tar.bz2
gsoc2013-empathy-966169f0cf3e245c57c4c7461a2715d56e08fa1a.tar.lz
gsoc2013-empathy-966169f0cf3e245c57c4c7461a2715d56e08fa1a.tar.xz
gsoc2013-empathy-966169f0cf3e245c57c4c7461a2715d56e08fa1a.tar.zst
gsoc2013-empathy-966169f0cf3e245c57c4c7461a2715d56e08fa1a.zip
Make buildable and visible if libchamplain not available
Diffstat (limited to 'libempathy-gtk')
-rw-r--r--libempathy-gtk/empathy-contact-dialogs.c2
-rw-r--r--libempathy-gtk/empathy-contact-widget.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/libempathy-gtk/empathy-contact-dialogs.c b/libempathy-gtk/empathy-contact-dialogs.c
index a4c05eb6d..70b605e56 100644
--- a/libempathy-gtk/empathy-contact-dialogs.c
+++ b/libempathy-gtk/empathy-contact-dialogs.c
@@ -190,9 +190,7 @@ empathy_contact_information_dialog_show (EmpathyContact *contact,
/* Contact info widget */
contact_widget = empathy_contact_widget_new (contact,
-#if HAVE_LIBCHAMPLAIN
EMPATHY_CONTACT_WIDGET_SHOW_LOCATION |
-#endif
EMPATHY_CONTACT_WIDGET_EDIT_NONE);
gtk_container_set_border_width (GTK_CONTAINER (contact_widget), 8);
gtk_box_pack_start (GTK_BOX (GTK_DIALOG (dialog)->vbox),
diff --git a/libempathy-gtk/empathy-contact-widget.c b/libempathy-gtk/empathy-contact-widget.c
index 08284553f..4f5513241 100644
--- a/libempathy-gtk/empathy-contact-widget.c
+++ b/libempathy-gtk/empathy-contact-widget.c
@@ -1347,6 +1347,7 @@ contact_widget_location_update (EmpathyContactWidget *information)
gtk_widget_show (information->table_location);
}
+#if HAVE_LIBCHAMPLAIN
if (/* information->flags & EMPATHY_CONTACT_WIDGET_FOR_TOOLTIP || */
information->flags & EMPATHY_CONTACT_WIDGET_SHOW_LOCATION)
{
@@ -1373,6 +1374,7 @@ contact_widget_location_update (EmpathyContactWidget *information)
champlain_view_center_on (CHAMPLAIN_VIEW(information->map_view), lat, lon);
}
+#endif
gtk_widget_show (information->vbox_location);
}