aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/e-meeting-time-sel.c
diff options
context:
space:
mode:
authorJP Rosevear <jpr@ximian.com>2003-05-16 04:24:19 +0800
committerJP Rosevear <jpr@src.gnome.org>2003-05-16 04:24:19 +0800
commit13006ba0dc5c00adbb4dd24d75a979c4e8592f4a (patch)
tree161d94edc86fd9fa878a559a924cd38c6fdf63d0 /calendar/gui/e-meeting-time-sel.c
parent6cdf75996f3e0ff5f285440870671e3890e003e8 (diff)
downloadgsoc2013-evolution-13006ba0dc5c00adbb4dd24d75a979c4e8592f4a.tar
gsoc2013-evolution-13006ba0dc5c00adbb4dd24d75a979c4e8592f4a.tar.gz
gsoc2013-evolution-13006ba0dc5c00adbb4dd24d75a979c4e8592f4a.tar.bz2
gsoc2013-evolution-13006ba0dc5c00adbb4dd24d75a979c4e8592f4a.tar.lz
gsoc2013-evolution-13006ba0dc5c00adbb4dd24d75a979c4e8592f4a.tar.xz
gsoc2013-evolution-13006ba0dc5c00adbb4dd24d75a979c4e8592f4a.tar.zst
gsoc2013-evolution-13006ba0dc5c00adbb4dd24d75a979c4e8592f4a.zip
ref ourselves the number of times we'll get called back
2003-05-15 JP Rosevear <jpr@ximian.com> * gui/e-meeting-time-sel.c (e_meeting_time_selector_refresh_free_busy): ref ourselves the number of times we'll get called back svn path=/trunk/; revision=21196
Diffstat (limited to 'calendar/gui/e-meeting-time-sel.c')
-rw-r--r--calendar/gui/e-meeting-time-sel.c11
1 files changed, 10 insertions, 1 deletions
diff --git a/calendar/gui/e-meeting-time-sel.c b/calendar/gui/e-meeting-time-sel.c
index b1d7ff0bbc..c4286f91a4 100644
--- a/calendar/gui/e-meeting-time-sel.c
+++ b/calendar/gui/e-meeting-time-sel.c
@@ -1252,7 +1252,16 @@ e_meeting_time_selector_refresh_free_busy (EMeetingTimeSelector *mts, int row, g
/* Ref ourselves in case we are called back after destruction,
* we can do this because we will get a call back even after
* an error */
- gtk_object_ref (GTK_OBJECT (mts));
+ /* FIXME We should really have a mechanism to unqueue the
+ * notification */
+ if (all) {
+ int i;
+
+ for (i = 0; i < e_meeting_model_count_actual_attendees (mts->model); i++)
+ gtk_object_ref (GTK_OBJECT (mts));
+ } else {
+ gtk_object_ref (GTK_OBJECT (mts));
+ }
if (all)
e_meeting_model_refresh_all_busy_periods (mts->model, &start, &end,