Bug 22896 - Enums are not specified in callbacks documentation
Summary: Enums are not specified in callbacks documentation
Status: RESOLVED FIXED
Alias: None
Product: GeoClue
Classification: Unclassified
Component: General (show other bugs)
Version: unspecified
Hardware: All All
: medium normal
Assignee: Geoclue Bugs
QA Contact: Geoclue Bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-07-22 12:15 UTC by Marco Túlio Gontijo e Silva
Modified: 2010-05-07 00:11 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description Marco Túlio Gontijo e Silva 2009-07-22 12:15:48 UTC
The callbacks of status-changed and position-changed, for instace, have no documentation about the enums passed as parameters.  It says:

void                user_function                      (GeoclueProvider *provider,
                                                        gint             status,
                                                        gpointer         user_data)

Where it should be

void                user_function                      (GeoclueProvider *provider,
                                                        GeoclueStatus             status,
                                                        gpointer         user_data)
Comment 1 Stefan Kost 2010-05-07 00:11:41 UTC
seems to be fixed in 0.12 (git)

gboolean            geoclue_provider_get_status         (GeoclueProvider *provider,
                                                         GeoclueStatus *status,
                                                         GError **error);


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.