aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJP Rosevear <jpr@ximian.com>2001-09-12 07:32:45 +0800
committerJP Rosevear <jpr@src.gnome.org>2001-09-12 07:32:45 +0800
commitff6d984bb6c9fd7fbba7a6382976260f0f2dfd8f (patch)
treee08ce84420750e64bd6bd0634dbb727f26c12e65
parent7381fc7e45641fc084dda5a0a85f1e86215a38f9 (diff)
downloadgsoc2013-evolution-ff6d984bb6c9fd7fbba7a6382976260f0f2dfd8f.tar.gz
gsoc2013-evolution-ff6d984bb6c9fd7fbba7a6382976260f0f2dfd8f.tar.zst
gsoc2013-evolution-ff6d984bb6c9fd7fbba7a6382976260f0f2dfd8f.zip
free the destination vector when we finish with it, if we actually add
2001-09-11 JP Rosevear <jpr@ximian.com> * gui/dialogs/meeting-page.c (invite_entry_changed): free the destination vector when we finish with it, if we actually add anyone, notify listeners of the needs send and changed info. Fixes bug #8632. svn path=/trunk/; revision=12771
-rw-r--r--calendar/ChangeLog7
-rw-r--r--calendar/gui/dialogs/meeting-page.c9
2 files changed, 11 insertions, 5 deletions
diff --git a/calendar/ChangeLog b/calendar/ChangeLog
index afa3907a89..9c124fe127 100644
--- a/calendar/ChangeLog
+++ b/calendar/ChangeLog
@@ -1,3 +1,10 @@
+2001-09-11 JP Rosevear <jpr@ximian.com>
+
+ * gui/dialogs/meeting-page.c (invite_entry_changed): free the
+ destination vector when we finish with it, if we actually add
+ anyone, notify listeners of the needs send and changed info. Fixes
+ bug #8632.
+
2001-09-10 Zbigniew Chyla <cyba@gnome.pl>
* gui/print.c
diff --git a/calendar/gui/dialogs/meeting-page.c b/calendar/gui/dialogs/meeting-page.c
index 2af24d2400..b02efe4735 100644
--- a/calendar/gui/dialogs/meeting-page.c
+++ b/calendar/gui/dialogs/meeting-page.c
@@ -801,13 +801,12 @@ invite_entry_changed (BonoboListener *listener,
row_cnt = row_count (priv->model, mpage) - 1;
e_table_model_row_inserted (priv->model, row_cnt);
- }
-
- /* FIXME: Should you unref destv[i], JP?? - Damon */
+ comp_editor_page_notify_needs_send (COMP_EDITOR_PAGE (mpage));
+ comp_editor_page_notify_changed (COMP_EDITOR_PAGE (mpage));
+ }
}
-
- /* FIXME: Should you g_free() destv, JP?? - Damon */
+ e_destination_freev (destv);
}
static void