[evolution] Bug 788450 - Correct typo in e_cal_model_get_default_source_uid()
- From: Milan Crha <mcrha src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution] Bug 788450 - Correct typo in e_cal_model_get_default_source_uid()
- Date: Tue, 3 Oct 2017 10:41:53 +0000 (UTC)
commit 419b14250bb2b2ed0efa6fb4b471cbeea466e7d5
Author: Milan Crha <mcrha redhat com>
Date: Tue Oct 3 12:42:43 2017 +0200
Bug 788450 - Correct typo in e_cal_model_get_default_source_uid()
src/calendar/gui/e-cal-model.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/calendar/gui/e-cal-model.c b/src/calendar/gui/e-cal-model.c
index 696ad8d..50195b7 100644
--- a/src/calendar/gui/e-cal-model.c
+++ b/src/calendar/gui/e-cal-model.c
@@ -3580,7 +3580,7 @@ e_cal_model_get_default_source_uid (ECalModel *model)
g_return_val_if_fail (model != NULL, NULL);
g_return_val_if_fail (E_IS_CAL_MODEL (model), NULL);
- if (model->priv->default_source_uid && !model->priv->default_source_uid)
+ if (model->priv->default_source_uid && !*model->priv->default_source_uid)
return NULL;
return model->priv->default_source_uid;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]