aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/dialogs/task-details-page.c
diff options
context:
space:
mode:
authorJP Rosevear <jpr@ximian.com>2003-05-08 22:02:35 +0800
committerJP Rosevear <jpr@src.gnome.org>2003-05-08 22:02:35 +0800
commitbce1283eb5a7dce62ad3219ca57591de314da882 (patch)
tree0947214bcaa44213c6dceaa0d86dbbedb72cfe8f /calendar/gui/dialogs/task-details-page.c
parent7c5e55ba41e736f76a599ff34edbcf03cc558432 (diff)
downloadgsoc2013-evolution-bce1283eb5a7dce62ad3219ca57591de314da882.tar.gz
gsoc2013-evolution-bce1283eb5a7dce62ad3219ca57591de314da882.tar.zst
gsoc2013-evolution-bce1283eb5a7dce62ad3219ca57591de314da882.zip
fix button conversion problem
2003-05-07 JP Rosevear <jpr@ximian.com> * gui/dialogs/task-page.glade: fix button conversion problem * gui/dialogs/task-details-page.c (task_details_page_fill_widgets): only free the percent if its non-null svn path=/trunk/; revision=21128
Diffstat (limited to 'calendar/gui/dialogs/task-details-page.c')
-rw-r--r--calendar/gui/dialogs/task-details-page.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/calendar/gui/dialogs/task-details-page.c b/calendar/gui/dialogs/task-details-page.c
index 9e6a870f4c..17524e2994 100644
--- a/calendar/gui/dialogs/task-details-page.c
+++ b/calendar/gui/dialogs/task-details-page.c
@@ -317,7 +317,8 @@ task_details_page_fill_widgets (CompEditorPage *page, CalComponent *comp)
}
e_dialog_option_menu_set (priv->status, status, status_map);
- cal_component_free_percent (percent);
+ if (percent)
+ cal_component_free_percent (percent);
/* Completed Date. */
cal_component_get_completed (comp, &completed);