aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/text
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2012-07-12 20:02:18 +0800
committerMatthew Barnes <mbarnes@redhat.com>2012-08-20 02:17:55 +0800
commitc85109fc322137596bf34cffc5445d568223c60d (patch)
tree711e6d5b2eb3d6c7780d1d01e20d980c67a77f9e /widgets/text
parent7d1751cc26a75166019917ec8c3b35e1083d27d6 (diff)
downloadgsoc2013-evolution-c85109fc322137596bf34cffc5445d568223c60d.tar.gz
gsoc2013-evolution-c85109fc322137596bf34cffc5445d568223c60d.tar.zst
gsoc2013-evolution-c85109fc322137596bf34cffc5445d568223c60d.zip
Coding style and whitespace cleanup.
Diffstat (limited to 'widgets/text')
-rw-r--r--widgets/text/e-reflow-model.c6
-rw-r--r--widgets/text/e-reflow.c6
-rw-r--r--widgets/text/gal-a11y-e-text.c2
3 files changed, 7 insertions, 7 deletions
diff --git a/widgets/text/e-reflow-model.c b/widgets/text/e-reflow-model.c
index 35d0eaf9da..1f7aa5e105 100644
--- a/widgets/text/e-reflow-model.c
+++ b/widgets/text/e-reflow-model.c
@@ -284,7 +284,7 @@ print_tabs (void)
{
gint i;
for (i = 0; i < depth; i++)
- g_print("\t");
+ g_print ("\t");
}
#endif
@@ -308,7 +308,7 @@ e_reflow_model_changed (EReflowModel *e_reflow_model)
g_return_if_fail (E_IS_REFLOW_MODEL (e_reflow_model));
d (print_tabs ());
- d(g_print("Emitting model_changed on model 0x%p.\n", e_reflow_model));
+ d (g_print ("Emitting model_changed on model 0x%p.\n", e_reflow_model));
d (depth++);
g_signal_emit (e_reflow_model, signals[MODEL_CHANGED], 0);
d (depth--);
@@ -404,7 +404,7 @@ e_reflow_model_item_changed (EReflowModel *e_reflow_model,
g_return_if_fail (E_IS_REFLOW_MODEL (e_reflow_model));
d (print_tabs ());
- d(g_print("Emitting item_changed on model 0x%p, n=%d.\n", e_reflow_model, n));
+ d (g_print ("Emitting item_changed on model 0x%p, n=%d.\n", e_reflow_model, n));
d (depth++);
g_signal_emit (e_reflow_model, signals[MODEL_ITEM_CHANGED], 0, n);
d (depth--);
diff --git a/widgets/text/e-reflow.c b/widgets/text/e-reflow.c
index 240227f162..edfaadc157 100644
--- a/widgets/text/e-reflow.c
+++ b/widgets/text/e-reflow.c
@@ -138,12 +138,12 @@ e_reflow_update_selection_row (EReflow *reflow,
{
if (reflow->items[row]) {
g_object_set (reflow->items[row],
- "selected", e_selection_model_is_row_selected(E_SELECTION_MODEL(reflow->selection), row),
+ "selected", e_selection_model_is_row_selected (E_SELECTION_MODEL (reflow->selection), row),
NULL);
} else if (e_selection_model_is_row_selected (E_SELECTION_MODEL (reflow->selection), row)) {
reflow->items[row] = e_reflow_model_incarnate (reflow->model, row, GNOME_CANVAS_GROUP (reflow));
g_object_set (reflow->items[row],
- "selected", e_selection_model_is_row_selected(E_SELECTION_MODEL(reflow->selection), row),
+ "selected", e_selection_model_is_row_selected (E_SELECTION_MODEL (reflow->selection), row),
"width", (gdouble) reflow->column_width,
NULL);
}
@@ -298,7 +298,7 @@ incarnate (EReflow *reflow)
if (reflow->model) {
reflow->items[unsorted] = e_reflow_model_incarnate (reflow->model, unsorted, GNOME_CANVAS_GROUP (reflow));
g_object_set (reflow->items[unsorted],
- "selected", e_selection_model_is_row_selected(E_SELECTION_MODEL(reflow->selection), unsorted),
+ "selected", e_selection_model_is_row_selected (E_SELECTION_MODEL (reflow->selection), unsorted),
"width", (gdouble) reflow->column_width,
NULL);
}
diff --git a/widgets/text/gal-a11y-e-text.c b/widgets/text/gal-a11y-e-text.c
index 49274ae4b7..5632665bc3 100644
--- a/widgets/text/gal-a11y-e-text.c
+++ b/widgets/text/gal-a11y-e-text.c
@@ -744,7 +744,7 @@ et_remove_selection (AtkText *text,
if (selection_num == 0
&& etext->selection_start != etext->selection_end) {
etext->selection_end = etext->selection_start;
- g_signal_emit_by_name (ATK_OBJECT(text), "text_selection_changed");
+ g_signal_emit_by_name (ATK_OBJECT (text), "text_selection_changed");
return TRUE;
}