aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/dialogs/e-delegate-dialog.c
diff options
context:
space:
mode:
authorNot Zed <NotZed@Ximian.com>2002-11-19 12:56:45 +0800
committerMichael Zucci <zucchi@src.gnome.org>2002-11-19 12:56:45 +0800
commitde63e5c5e35d0a52dcdfa160ac22b9217608c42a (patch)
tree9a6aafeff4f55cce0ac37e0db517e9d061ddbdeb /calendar/gui/dialogs/e-delegate-dialog.c
parenta645910fc85109532fddde2d33a4d172120ef163 (diff)
downloadgsoc2013-evolution-de63e5c5e35d0a52dcdfa160ac22b9217608c42a.tar
gsoc2013-evolution-de63e5c5e35d0a52dcdfa160ac22b9217608c42a.tar.gz
gsoc2013-evolution-de63e5c5e35d0a52dcdfa160ac22b9217608c42a.tar.bz2
gsoc2013-evolution-de63e5c5e35d0a52dcdfa160ac22b9217608c42a.tar.lz
gsoc2013-evolution-de63e5c5e35d0a52dcdfa160ac22b9217608c42a.tar.xz
gsoc2013-evolution-de63e5c5e35d0a52dcdfa160ac22b9217608c42a.tar.zst
gsoc2013-evolution-de63e5c5e35d0a52dcdfa160ac22b9217608c42a.zip
pass type to bonobo_widget::set_property. (select_names_ok_cb): ", for
2002-11-19 Not Zed <NotZed@Ximian.com> * gui/e-meeting-model.c (get_select_name_dialog): pass type to bonobo_widget::set_property. (select_names_ok_cb): ", for get_property. * gui/dialogs/e-delegate-dialog.c (e_delegate_dialog_construct): pass type to bonobo_widget::set_property & plug small leak. (e_delegate_dialog_get_delegate): ", for get_property. (e_delegate_dialog_get_delegate_name): " * gui/dialogs/comp-editor-util.c (comp_editor_contacts_to_widget): pass type to bonobo_widget::set_property. (comp_editor_contacts_to_component): ", for get_property svn path=/trunk/; revision=18835
Diffstat (limited to 'calendar/gui/dialogs/e-delegate-dialog.c')
-rw-r--r--calendar/gui/dialogs/e-delegate-dialog.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/calendar/gui/dialogs/e-delegate-dialog.c b/calendar/gui/dialogs/e-delegate-dialog.c
index c42bd3ca95..5e890221e5 100644
--- a/calendar/gui/dialogs/e-delegate-dialog.c
+++ b/calendar/gui/dialogs/e-delegate-dialog.c
@@ -151,6 +151,7 @@ e_delegate_dialog_construct (EDelegateDialog *edd, const char *name, const char
EDestination *destv[2] = {NULL, NULL};
Bonobo_Control corba_control;
CORBA_Environment ev;
+ char *str;
g_return_val_if_fail (edd != NULL, NULL);
g_return_val_if_fail (E_IS_DELEGATE_DIALOG (edd), NULL);
@@ -204,7 +205,9 @@ e_delegate_dialog_construct (EDelegateDialog *edd, const char *name, const char
e_destination_set_name (dest, name);
if (address != NULL && *address)
e_destination_set_email (dest, address);
- bonobo_widget_set_property (BONOBO_WIDGET (priv->entry), "destinations", e_destination_exportv (destv), NULL);
+ str = e_destination_exportv(destv);
+ bonobo_widget_set_property (BONOBO_WIDGET (priv->entry), "destinations", TC_CORBA_string, str, NULL);
+ g_free(str);
gtk_object_unref (GTK_OBJECT (dest));
gtk_signal_connect (GTK_OBJECT (priv->addressbook), "clicked",
@@ -282,7 +285,7 @@ e_delegate_dialog_get_delegate (EDelegateDialog *edd)
priv = edd->priv;
- bonobo_widget_get_property (BONOBO_WIDGET (priv->entry), "destinations", &string, NULL);
+ bonobo_widget_get_property (BONOBO_WIDGET (priv->entry), "destinations", TC_CORBA_string, &string, NULL);
destv = e_destination_importv (string);
if (destv && destv[0] != NULL) {
@@ -309,7 +312,7 @@ e_delegate_dialog_get_delegate_name (EDelegateDialog *edd)
priv = edd->priv;
- bonobo_widget_get_property (BONOBO_WIDGET (priv->entry), "destinations", &string, NULL);
+ bonobo_widget_get_property (BONOBO_WIDGET (priv->entry), "destinations", TC_CORBA_string, &string, NULL);
destv = e_destination_importv (string);
g_message ("importv: [%s]", string);