diff options
author | JP Rosevear <jpr@ximian.com> | 2003-05-08 22:02:35 +0800 |
---|---|---|
committer | JP Rosevear <jpr@src.gnome.org> | 2003-05-08 22:02:35 +0800 |
commit | bce1283eb5a7dce62ad3219ca57591de314da882 (patch) | |
tree | 0947214bcaa44213c6dceaa0d86dbbedb72cfe8f /calendar/gui/dialogs/task-details-page.c | |
parent | 7c5e55ba41e736f76a599ff34edbcf03cc558432 (diff) | |
download | gsoc2013-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.c | 3 |
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); |