From efdafd9d878dc8a5c27b13e18b2d08cb52aa066b Mon Sep 17 00:00:00 2001 From: Dan Winship Date: Fri, 12 Jul 2002 21:33:18 +0000 Subject: dup the listener, for consistency with the other signals * evolution-storage.c (impl_Storage_asyncDiscoverSharedFolder): dup the listener, for consistency with the other signals svn path=/trunk/; revision=17444 --- shell/ChangeLog | 5 +++++ shell/evolution-storage.c | 4 +++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/shell/ChangeLog b/shell/ChangeLog index c515d7f3b8..135774af8e 100644 --- a/shell/ChangeLog +++ b/shell/ChangeLog @@ -1,3 +1,8 @@ +2002-07-12 Dan Winship + + * evolution-storage.c (impl_Storage_asyncDiscoverSharedFolder): + dup the listener, for consistency with the other signals + 2002-07-12 Ettore Perazzoli * evolution-folder-selector-button.c (clicked): Ref the diff --git a/shell/evolution-storage.c b/shell/evolution-storage.c index d9c635cf4f..b3ea8089bb 100644 --- a/shell/evolution-storage.c +++ b/shell/evolution-storage.c @@ -473,12 +473,14 @@ impl_Storage_asyncDiscoverSharedFolder (PortableServer_Servant servant, { BonoboObject *bonobo_object; EvolutionStorage *storage; + CORBA_Object obj_dup; bonobo_object = bonobo_object_from_servant (servant); storage = EVOLUTION_STORAGE (bonobo_object); + obj_dup = CORBA_Object_duplicate (listener, ev); gtk_signal_emit (GTK_OBJECT (storage), signals[DISCOVER_SHARED_FOLDER], - user, folder_name, listener); + user, folder_name, obj_dup); } static void -- cgit v1.2.3