API hint

Jussi Kukkonen jku at linux.intel.com
Tue Dec 16 10:23:34 PST 2008


Pierre-Luc Beaudoin wrote:
> Hi!
> 
> In GeocluePosition,
> 
> I think that geoclue_position_get_position_async ()'s callback and the
> "position-changed" signal's callback should have the same signature,
> this way we can use the same function.
> 
> Same for GeoclueAddress.
> 

Hmm, I guess that would make client code a tiny bit simpler. We'd have 
to add a "empty" parameter to the signal handler signature to make room 
for the GError* in the function callback, right? Somehow that sounds 
dirty...

  - Jussi




More information about the GeoClue mailing list