diff options
author | Srinivasa Ragavan <sragavan@src.gnome.org> | 2007-08-31 13:23:46 +0800 |
---|---|---|
committer | Srinivasa Ragavan <sragavan@src.gnome.org> | 2007-08-31 13:23:46 +0800 |
commit | 9ea10deea3b27d7bde1b82792cae76b99b5610f6 (patch) | |
tree | 0ca0584e525ab8ff7e1e24ec61437406dcbcf5d4 /widgets/text | |
parent | 095302aef20099e51739209a4e4229379da85047 (diff) | |
download | gsoc2013-evolution-9ea10deea3b27d7bde1b82792cae76b99b5610f6.tar gsoc2013-evolution-9ea10deea3b27d7bde1b82792cae76b99b5610f6.tar.gz gsoc2013-evolution-9ea10deea3b27d7bde1b82792cae76b99b5610f6.tar.bz2 gsoc2013-evolution-9ea10deea3b27d7bde1b82792cae76b99b5610f6.tar.lz gsoc2013-evolution-9ea10deea3b27d7bde1b82792cae76b99b5610f6.tar.xz gsoc2013-evolution-9ea10deea3b27d7bde1b82792cae76b99b5610f6.tar.zst gsoc2013-evolution-9ea10deea3b27d7bde1b82792cae76b99b5610f6.zip |
Move away from g_asserts from g_return*.
svn path=/trunk/; revision=34142
Diffstat (limited to 'widgets/text')
-rw-r--r-- | widgets/text/e-completion-view.c | 2 | ||||
-rw-r--r-- | widgets/text/e-table-text-model.c | 2 | ||||
-rw-r--r-- | widgets/text/e-text-model-uri.c | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/widgets/text/e-completion-view.c b/widgets/text/e-completion-view.c index f08f2ecbc5..bbf7d4168f 100644 --- a/widgets/text/e-completion-view.c +++ b/widgets/text/e-completion-view.c @@ -409,7 +409,7 @@ e_completion_view_set_cursor_row (ECompletionView *cv, gint r) ++iteration_count; } - g_assert_not_reached (); + g_return_if_reached(); } static void diff --git a/widgets/text/e-table-text-model.c b/widgets/text/e-table-text-model.c index e0b8b6bae2..2c7e91fff9 100644 --- a/widgets/text/e-table-text-model.c +++ b/widgets/text/e-table-text-model.c @@ -85,7 +85,7 @@ e_table_text_model_dispose (GObject *object) model = E_TABLE_TEXT_MODEL (object); if (model->model) - g_assert (GTK_IS_OBJECT (model->model)); + g_return_if_fail (GTK_IS_OBJECT (model->model)); if (model->cell_changed_signal_id) g_signal_handler_disconnect (model->model, diff --git a/widgets/text/e-text-model-uri.c b/widgets/text/e-text-model-uri.c index 9bf0af7805..185d109821 100644 --- a/widgets/text/e-text-model-uri.c +++ b/widgets/text/e-text-model-uri.c @@ -229,7 +229,7 @@ objectify_idle_cb (gpointer ptr) { ETextModelURI *model_uri = E_TEXT_MODEL_URI (ptr); - g_assert (model_uri->objectify_idle); + g_return_val_if_fail (model_uri->objectify_idle, FALSE); objectify_uris (model_uri); model_uri->objectify_idle = 0; |