aboutsummaryrefslogtreecommitdiffstats
path: root/calendar
diff options
context:
space:
mode:
Diffstat (limited to 'calendar')
-rw-r--r--calendar/ChangeLog5
-rw-r--r--calendar/gui/calendar-component.c4
-rw-r--r--calendar/gui/component-factory.c4
3 files changed, 9 insertions, 4 deletions
diff --git a/calendar/ChangeLog b/calendar/ChangeLog
index 06522b1fe2..120e792919 100644
--- a/calendar/ChangeLog
+++ b/calendar/ChangeLog
@@ -1,3 +1,8 @@
+2002-11-21 Not Zed <NotZed@Ximian.com>
+
+ * gui/component-factory.c (create_view): pass type to
+ bonobo_control_set_property.
+
2002-11-20 Not Zed <NotZed@Ximian.com>
* gui/Makefile.am (EXTRA_DIST): fix typo, servers_in_files ->
diff --git a/calendar/gui/calendar-component.c b/calendar/gui/calendar-component.c
index bb33a2c788..79ae0565fa 100644
--- a/calendar/gui/calendar-component.c
+++ b/calendar/gui/calendar-component.c
@@ -130,9 +130,9 @@ create_view (EvolutionShellComponent *shell_component,
return EVOLUTION_SHELL_COMPONENT_UNSUPPORTEDTYPE;
}
- bonobo_control_set_property (control, "folder_uri", physical_uri, NULL);
+ bonobo_control_set_property (control, "folder_uri", TC_CORBA_string, physical_uri, NULL);
if (type_is_calendar (type) && *view_info)
- bonobo_control_set_property (control, "view", view_info, NULL);
+ bonobo_control_set_property (control, "view", TC_CORBA_string, view_info, NULL);
*control_return = control;
diff --git a/calendar/gui/component-factory.c b/calendar/gui/component-factory.c
index bb33a2c788..79ae0565fa 100644
--- a/calendar/gui/component-factory.c
+++ b/calendar/gui/component-factory.c
@@ -130,9 +130,9 @@ create_view (EvolutionShellComponent *shell_component,
return EVOLUTION_SHELL_COMPONENT_UNSUPPORTEDTYPE;
}
- bonobo_control_set_property (control, "folder_uri", physical_uri, NULL);
+ bonobo_control_set_property (control, "folder_uri", TC_CORBA_string, physical_uri, NULL);
if (type_is_calendar (type) && *view_info)
- bonobo_control_set_property (control, "view", view_info, NULL);
+ bonobo_control_set_property (control, "view", TC_CORBA_string, view_info, NULL);
*control_return = control;