aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook/gui
diff options
context:
space:
mode:
Diffstat (limited to 'addressbook/gui')
-rw-r--r--addressbook/gui/widgets/e-contact-map-window.c10
1 files changed, 6 insertions, 4 deletions
diff --git a/addressbook/gui/widgets/e-contact-map-window.c b/addressbook/gui/widgets/e-contact-map-window.c
index b2d13c34f0..292d5f3530 100644
--- a/addressbook/gui/widgets/e-contact-map-window.c
+++ b/addressbook/gui/widgets/e-contact-map-window.c
@@ -17,8 +17,10 @@
*
*/
+#ifdef HAVE_CONFIG_H
/* This defines WITH_CONTACT_MAPS. */
#include <config.h>
+#endif
#ifdef WITH_CONTACT_MAPS
@@ -186,7 +188,7 @@ contact_map_window_contact_added_cb (EContactMap *map,
window->priv->tasks_cnt--;
if (window->priv->tasks_cnt == 0) {
- gtk_spinner_stop (GTK_SPINNER (window->priv->spinner));
+ e_spinner_stop (E_SPINNER (window->priv->spinner));
gtk_widget_hide (window->priv->spinner);
}
}
@@ -230,7 +232,7 @@ contact_map_window_geocoding_started_cb (EContactMap *map,
ClutterActor *marker,
EContactMapWindow *window)
{
- gtk_spinner_start (GTK_SPINNER (window->priv->spinner));
+ e_spinner_start (E_SPINNER (window->priv->spinner));
gtk_widget_show (window->priv->spinner);
window->priv->tasks_cnt++;
@@ -244,7 +246,7 @@ contact_map_window_geocoding_failed_cb (EContactMap *map,
window->priv->tasks_cnt--;
if (window->priv->tasks_cnt == 0) {
- gtk_spinner_stop (GTK_SPINNER (window->priv->spinner));
+ e_spinner_stop (E_SPINNER (window->priv->spinner));
gtk_widget_hide (window->priv->spinner);
}
}
@@ -401,7 +403,7 @@ e_contact_map_window_init (EContactMapWindow *window)
hbox = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 7);
/* Spinner */
- button = gtk_spinner_new ();
+ button = e_spinner_new ();
gtk_container_add (GTK_CONTAINER (hbox), button);
gtk_widget_hide (button);
priv->spinner = button;