diff options
author | Ettore Perazzoli <ettore@src.gnome.org> | 2000-06-30 17:32:11 +0800 |
---|---|---|
committer | Ettore Perazzoli <ettore@src.gnome.org> | 2000-06-30 17:32:11 +0800 |
commit | 43aa02ecd418a9a898d4287aa5a29f050486d605 (patch) | |
tree | e4bb3e630f0d4bbf43a9d710e50f1ad68ca94d94 /shell/evolution-shell-client.c | |
parent | 1e98eda7a4b8d6dd4c648af5fd407c8eef5dd1bd (diff) | |
download | gsoc2013-evolution-43aa02ecd418a9a898d4287aa5a29f050486d605.tar.gz gsoc2013-evolution-43aa02ecd418a9a898d4287aa5a29f050486d605.tar.zst gsoc2013-evolution-43aa02ecd418a9a898d4287aa5a29f050486d605.zip |
Derive EvolutionShellClient from BonoboObjectClient instead of BonoboObject.
svn path=/trunk/; revision=3825
Diffstat (limited to 'shell/evolution-shell-client.c')
-rw-r--r-- | shell/evolution-shell-client.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/shell/evolution-shell-client.c b/shell/evolution-shell-client.c index d9cc63cec2..bf46e65eab 100644 --- a/shell/evolution-shell-client.c +++ b/shell/evolution-shell-client.c @@ -36,8 +36,8 @@ struct _EvolutionShellClientPrivate { int dummy; }; -#define PARENT_TYPE bonobo_object_get_type () -static BonoboObjectClass *parent_class = NULL; +#define PARENT_TYPE bonobo_object_client_get_type () +static BonoboObjectClientClass *parent_class = NULL; /* Easy-to-use wrapper for Evolution::user_select_folder. */ @@ -103,7 +103,7 @@ create_folder_selection_listener_interface (char **result, if (! FolderSelectionListener_vtables_initialized) init_FolderSelectionListener_vtables (); - servant = g_new (FolderSelectionListenerServant, 1); + servant = g_new0 (FolderSelectionListenerServant, 1); servant->servant.vepv = &FolderSelectionListener_vepv; servant->main_loop = main_loop; servant->uri_return = uri_return; @@ -157,6 +157,8 @@ user_select_folder (EvolutionShellClient *shell_client, corba_shell = bonobo_object_corba_objref (BONOBO_OBJECT (shell_client)); + g_print ("%s -- %p\n", __FUNCTION__, corba_shell); + Evolution_Shell_user_select_folder (corba_shell, listener_interface, title, default_folder, &ev); |