libnm-glib: trivial documentation fixes

This commit is contained in:
Dan Williams 2009-11-23 15:02:56 -08:00
parent 830bded555
commit 66994a18a3
5 changed files with 9 additions and 8 deletions

View file

@ -299,7 +299,7 @@ nm_access_point_get_max_bitrate (NMAccessPoint *ap)
/**
* nm_access_point_get_strength:
* @ap:
* @ap: a #NMAccessPoint
*
* Gets the current signal strength of the access point.
*

View file

@ -1095,13 +1095,12 @@ deactivate_cb (DBusGProxy *proxy,
/**
* nm_device_disconnect:
* @device: a #NMDevice
* @error: a location to store an error on failure
* @callback: callback to be called when disconnect operation completes
* @user_data: caller-specific data passed to @callback
*
* Disconnects the device if currently connected, and prevents the device from
* automatically connecting to networks until the next manual network connection
* request.
*
* Returns: TRUE on success, FALSE if an error occurred.
**/
void
nm_device_disconnect (NMDevice *device,

View file

@ -56,7 +56,7 @@ typedef struct {
GType nm_remote_connection_get_type (void);
NMRemoteConnection *nm_remote_connection_new (DBusGConnection *dbus_connection,
NMRemoteConnection *nm_remote_connection_new (DBusGConnection *bus,
NMConnectionScope scope,
const char *path);
G_END_DECLS

View file

@ -24,7 +24,7 @@
/**
* nm_settings_connection_interface_update:
* @self: an object implementing #NMSettingsConnectionInterface
* @connection: an object implementing #NMSettingsConnectionInterface
* @callback: a function to be called when the update completes
* @user_data: caller-specific data to be passed to @callback
*
@ -51,7 +51,7 @@ nm_settings_connection_interface_update (NMSettingsConnectionInterface *connecti
/**
* nm_settings_connection_interface_delete:
* @self: a objecting implementing #NMSettingsConnectionInterface
* @connection: a objecting implementing #NMSettingsConnectionInterface
* @callback: a function to be called when the delete completes
* @user_data: caller-specific data to be passed to @callback
*
@ -78,7 +78,7 @@ nm_settings_connection_interface_delete (NMSettingsConnectionInterface *connecti
/**
* nm_settings_connection_interface_get_secrets:
* @self: a object implementing #NMSettingsConnectionInterface
* @connection: a object implementing #NMSettingsConnectionInterface
* @setting_name: the #NMSetting object name to get secrets for
* @hints: #NMSetting key names to get secrets for (optional)
* @request_new: hint that new secrets (instead of cached or stored secrets)

View file

@ -64,6 +64,8 @@ nm_settings_system_interface_save_hostname (NMSettingsSystemInterface *settings,
*
* Requests an indication of the operations the caller is permitted to perform
* including those that may require authorization.
*
* Returns: TRUE if the request was successful, FALSE if it failed
**/
gboolean
nm_settings_system_interface_get_permissions (NMSettingsSystemInterface *settings,