diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2007-11-15 06:04:21 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@src.gnome.org> | 2007-11-15 06:04:21 +0800 |
commit | 9e4fcb29cf7f05c18f7fd34e318f9e795fa32e91 (patch) | |
tree | 2e1e96f33404781354c422a7e9beaf458ebeb655 /widgets/text/e-text-model.c | |
parent | 7e8f8bb9e5167b0219b48ab3e8062080d3740b0a (diff) | |
download | gsoc2013-evolution-9e4fcb29cf7f05c18f7fd34e318f9e795fa32e91.tar.gz gsoc2013-evolution-9e4fcb29cf7f05c18f7fd34e318f9e795fa32e91.tar.zst gsoc2013-evolution-9e4fcb29cf7f05c18f7fd34e318f9e795fa32e91.zip |
** Remove trailing whitespace from source code.
2007-11-14 Matthew Barnes <mbarnes@redhat.com>
** Remove trailing whitespace from source code.
svn path=/trunk/; revision=34537
Diffstat (limited to 'widgets/text/e-text-model.c')
-rw-r--r-- | widgets/text/e-text-model.c | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/widgets/text/e-text-model.c b/widgets/text/e-text-model.c index 1b4a507518..4f5cf529a6 100644 --- a/widgets/text/e-text-model.c +++ b/widgets/text/e-text-model.c @@ -1,5 +1,5 @@ /* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */ -/* +/* * e-text-model.c * Copyright 2000, 2001, Ximian, Inc. * @@ -108,12 +108,12 @@ e_text_model_class_init (ETextModelClass *klass) NULL, NULL, g_cclosure_marshal_VOID__VOID, G_TYPE_NONE, 0); - + /* No default signal handlers. */ klass->changed = NULL; klass->reposition = NULL; klass->object_activated = NULL; - + klass->validate_pos = e_text_model_real_validate_position; klass->get_text = e_text_model_real_get_text; @@ -127,7 +127,7 @@ e_text_model_class_init (ETextModelClass *klass) klass->objectify = NULL; klass->obj_count = NULL; klass->get_nth_obj = NULL; - + object_class->dispose = e_text_model_dispose; } @@ -201,7 +201,7 @@ e_text_model_real_set_text (ETextModel *model, const gchar *text) g_string_set_size (model->priv->text, 0); } else if (*model->priv->text->str == '\0' || strcmp (model->priv->text->str, text)) { - + g_string_assign (model->priv->text, text); changed = TRUE; @@ -305,7 +305,7 @@ void e_text_model_cancel_completion (ETextModel *model) { g_return_if_fail (E_IS_TEXT_MODEL (model)); - + g_signal_emit (model, e_text_model_signals[E_TEXT_MODEL_CANCEL_COMPLETION], 0); } @@ -383,7 +383,7 @@ e_text_model_set_text (ETextModel *model, const gchar *text) void e_text_model_insert (ETextModel *model, gint position, const gchar *text) -{ +{ g_return_if_fail (model != NULL); g_return_if_fail (E_IS_TEXT_MODEL (model)); @@ -535,7 +535,7 @@ e_text_model_get_object_at_offset (ETextModel *model, gint offset) return E_TEXT_MODEL_GET_CLASS (model)->obj_at_offset (model, offset); - } else { + } else { /* If not, we fake it.*/ gint i, N, pos0, pos1; @@ -547,7 +547,7 @@ e_text_model_get_object_at_offset (ETextModel *model, gint offset) if (pos0 <= offset && offset < pos1) return i; } - + } return -1; |