Re: [G2R] bonobo_event_source_has_listener ... API addition request ...



Michael - if/when it gets approved, could you do a release relatively
soonish after commiting so that consumers of the new API could properly
test for its presence by library version numbers?

On 14 Mar 2002, Michael Meeks wrote:

> Hi Guys,
> 
> 	I'd really like to add the following method to the libbonobo
> BonoboEventSource:
> 
> gboolean bonobo_event_source_has_listener (BonoboEventSource *source,
> 					   const char        *name);
> 	
> 	The reason for this is that, while we only broadcast the history list
> at the CORBA level to every visible view in nautilus, we still construct
> (what can be a rather huge property) in order to send it, push it at the
> bonobo event source, which then doesn't send it to anyone, since no-one
> is listening ;-)
> 
> 	This is rather a monumental waste of time; quite a lot of time in fact.
> If I could add this [ rather trivial - just do a match on the event
> names, as is already done for notification (obviously) ] method, then it
> would be possible to detect the fact that no-one is interested in the
> event before going to lots of effort constructing it.
> 
> 	Of course, that'd be a good thing, and be generally useful around the
> place, problem is it's an API addition.
> 
> 	Can I slip this under the closing door ?
> 
> 	Regards,
> 
> 		Michael.
> 
> -- 
>  mmeeks gnu org  <><, Pseudo Engineer, itinerant idiot
> 
> _______________________________________________
> gnome2-release-team mailing list
> gnome2-release-team gnome org
> http://mail.gnome.org/mailman/listinfo/gnome2-release-team
> 

	Sander

	I see a dark sail on the horizon
	Set under a dark cloud that hides the sun
	Bring me my Broadsword and clear understanding




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]