30 lines
1.0 KiB
Diff
30 lines
1.0 KiB
Diff
=== modified file 'calendar/gui/dialogs/recurrence-page.c'
|
|
--- calendar/gui/dialogs/recurrence-page.c 2007-12-18 20:23:31 +0000
|
|
+++ calendar/gui/dialogs/recurrence-page.c 2007-12-18 20:43:23 +0000
|
|
@@ -850,7 +850,7 @@
|
|
/* If our component has not been set yet through ::fill_widgets(), we
|
|
* cannot preview the recurrence.
|
|
*/
|
|
- if (!priv->comp || e_cal_component_is_instance (priv->comp))
|
|
+ if (!priv || !priv->comp || e_cal_component_is_instance (priv->comp))
|
|
return;
|
|
|
|
/* Create a scratch component with the start/end and
|
|
|
|
=== modified file 'widgets/misc/e-calendar-item.c'
|
|
--- widgets/misc/e-calendar-item.c 2007-12-18 20:23:31 +0000
|
|
+++ widgets/misc/e-calendar-item.c 2007-12-18 20:43:23 +0000
|
|
@@ -430,9 +430,9 @@
|
|
calitem->styles = NULL;
|
|
}
|
|
|
|
- if (calitem->signal_emission_idle_id != 0) {
|
|
+ if (calitem->signal_emission_idle_id > 0) {
|
|
g_source_remove (calitem->signal_emission_idle_id);
|
|
- calitem->signal_emission_idle_id = 0;
|
|
+ calitem->signal_emission_idle_id = -1;
|
|
}
|
|
|
|
if (calitem->font_desc) {
|
|
|