[evolution/gnome-3-26] 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/gnome-3-26] Bug 788450 - Correct typo in e_cal_model_get_default_source_uid()
- Date: Tue, 3 Oct 2017 10:43:23 +0000 (UTC)
commit 674c8cd7f1b0feb45131b8de14a8f617ea9f6c0e
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 6c1e872..124cddb 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]