aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNot Zed <NotZed@Ximian.com>2002-11-21 07:44:19 +0800
committerMichael Zucci <zucchi@src.gnome.org>2002-11-21 07:44:19 +0800
commite9f3fc8bba0abaabf4ef01cd1cd446926e88cb50 (patch)
tree9691eed595bd9443f5313356300e83fa57055877
parent86a5d1bf73483198f92067a5c3dbdf23956f1a78 (diff)
downloadgsoc2013-evolution-e9f3fc8bba0abaabf4ef01cd1cd446926e88cb50.tar
gsoc2013-evolution-e9f3fc8bba0abaabf4ef01cd1cd446926e88cb50.tar.gz
gsoc2013-evolution-e9f3fc8bba0abaabf4ef01cd1cd446926e88cb50.tar.bz2
gsoc2013-evolution-e9f3fc8bba0abaabf4ef01cd1cd446926e88cb50.tar.lz
gsoc2013-evolution-e9f3fc8bba0abaabf4ef01cd1cd446926e88cb50.tar.xz
gsoc2013-evolution-e9f3fc8bba0abaabf4ef01cd1cd446926e88cb50.tar.zst
gsoc2013-evolution-e9f3fc8bba0abaabf4ef01cd1cd446926e88cb50.zip
pass type to bonobo_control_set_property.
2002-11-21 Not Zed <NotZed@Ximian.com> * gui/component-factory.c (create_view): pass type to bonobo_control_set_property. svn path=/trunk/; revision=18872
-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;