aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/e-timezone-dialog/e-timezone-dialog.c
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2009-05-29 01:06:29 +0800
committerMatthew Barnes <mbarnes@redhat.com>2009-05-29 01:21:01 +0800
commit14f8eee012382f04090ea9277e9567d5f32e8bf0 (patch)
treed1c454675e816f8d948942c21c5d899a969b08a7 /widgets/e-timezone-dialog/e-timezone-dialog.c
parente66024d664a1d346d6246b4e8b7c682bafcf4dda (diff)
downloadgsoc2013-evolution-14f8eee012382f04090ea9277e9567d5f32e8bf0.tar
gsoc2013-evolution-14f8eee012382f04090ea9277e9567d5f32e8bf0.tar.gz
gsoc2013-evolution-14f8eee012382f04090ea9277e9567d5f32e8bf0.tar.bz2
gsoc2013-evolution-14f8eee012382f04090ea9277e9567d5f32e8bf0.tar.lz
gsoc2013-evolution-14f8eee012382f04090ea9277e9567d5f32e8bf0.tar.xz
gsoc2013-evolution-14f8eee012382f04090ea9277e9567d5f32e8bf0.tar.zst
gsoc2013-evolution-14f8eee012382f04090ea9277e9567d5f32e8bf0.zip
Whitespace cleanup.
Diffstat (limited to 'widgets/e-timezone-dialog/e-timezone-dialog.c')
-rw-r--r--widgets/e-timezone-dialog/e-timezone-dialog.c22
1 files changed, 11 insertions, 11 deletions
diff --git a/widgets/e-timezone-dialog/e-timezone-dialog.c b/widgets/e-timezone-dialog/e-timezone-dialog.c
index 33b7eeb68d..e55938978c 100644
--- a/widgets/e-timezone-dialog/e-timezone-dialog.c
+++ b/widgets/e-timezone-dialog/e-timezone-dialog.c
@@ -101,9 +101,9 @@ static void set_map_timezone (ETimezoneDialog *etd,
static void on_combo_changed (GtkComboBox *combo,
ETimezoneDialog *etd);
-static void timezone_combo_get_active_text (GtkComboBox *combo,
+static void timezone_combo_get_active_text (GtkComboBox *combo,
const gchar **zone_name);
-static gboolean timezone_combo_set_active_text (GtkComboBox *combo,
+static gboolean timezone_combo_set_active_text (GtkComboBox *combo,
const gchar *zone_name);
static void map_destroy_cb (gpointer data,
@@ -479,10 +479,10 @@ on_map_timeout (gpointer data)
if (e_map_point_get_color_rgba (priv->point_selected)
== E_TIMEZONE_DIALOG_MAP_POINT_SELECTED_1_RGBA)
- e_map_point_set_color_rgba (priv->map, priv->point_selected,
+ e_map_point_set_color_rgba (priv->map, priv->point_selected,
E_TIMEZONE_DIALOG_MAP_POINT_SELECTED_2_RGBA);
else
- e_map_point_set_color_rgba (priv->map, priv->point_selected,
+ e_map_point_set_color_rgba (priv->map, priv->point_selected,
E_TIMEZONE_DIALOG_MAP_POINT_SELECTED_1_RGBA);
return TRUE;
@@ -505,14 +505,14 @@ on_map_motion (GtkWidget *widget, GdkEventMotion *event, gpointer data)
&longitude, &latitude);
if (priv->point_hover && priv->point_hover != priv->point_selected)
- e_map_point_set_color_rgba (priv->map, priv->point_hover,
+ e_map_point_set_color_rgba (priv->map, priv->point_hover,
E_TIMEZONE_DIALOG_MAP_POINT_NORMAL_RGBA);
priv->point_hover = e_map_get_closest_point (priv->map, longitude,
latitude, TRUE);
if (priv->point_hover != priv->point_selected)
- e_map_point_set_color_rgba (priv->map, priv->point_hover,
+ e_map_point_set_color_rgba (priv->map, priv->point_hover,
E_TIMEZONE_DIALOG_MAP_POINT_HOVER_RGBA);
new_zone = get_zone_from_point (etd, priv->point_hover);
@@ -542,7 +542,7 @@ on_map_leave (GtkWidget *widget, GdkEventCrossing *event, gpointer data)
return FALSE;
if (priv->point_hover && priv->point_hover != priv->point_selected)
- e_map_point_set_color_rgba (priv->map, priv->point_hover,
+ e_map_point_set_color_rgba (priv->map, priv->point_hover,
E_TIMEZONE_DIALOG_MAP_POINT_NORMAL_RGBA);
timezone_combo_set_active_text (GTK_COMBO_BOX (priv->timezone_combo),
@@ -596,14 +596,14 @@ on_map_button_pressed (GtkWidget *w, GdkEventButton *event, gpointer data)
&longitude, &latitude);
if (event->button != 1) {
- e_map_zoom_out (priv->map);
+ e_map_zoom_out (priv->map);
} else {
if (e_map_get_magnification (priv->map) <= 1.0)
- e_map_zoom_to_location (priv->map, longitude,
+ e_map_zoom_to_location (priv->map, longitude,
latitude);
if (priv->point_selected)
- e_map_point_set_color_rgba (priv->map,
+ e_map_point_set_color_rgba (priv->map,
priv->point_selected,
E_TIMEZONE_DIALOG_MAP_POINT_NORMAL_RGBA);
priv->point_selected = priv->point_hover;
@@ -694,7 +694,7 @@ e_timezone_dialog_set_timezone (ETimezoneDialog *etd,
g_return_if_fail (E_IS_TIMEZONE_DIALOG (etd));
- if (!zone) {
+ if (!zone) {
zone = (icaltimezone *)get_local_timezone();
if (!zone)
zone = icaltimezone_get_utc_timezone();