From e9f3fc8bba0abaabf4ef01cd1cd446926e88cb50 Mon Sep 17 00:00:00 2001 From: Not Zed Date: Wed, 20 Nov 2002 23:44:19 +0000 Subject: pass type to bonobo_control_set_property. 2002-11-21 Not Zed * gui/component-factory.c (create_view): pass type to bonobo_control_set_property. svn path=/trunk/; revision=18872 --- calendar/gui/calendar-component.c | 4 ++-- calendar/gui/component-factory.c | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'calendar/gui') 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; -- cgit v1.2.3