libnm-glib: fix allow-none introspection annotations (rh #747302)

This commit is contained in:
Dan Williams 2011-10-26 10:53:47 -05:00
parent a7f7e80839
commit 8b1de024ba
2 changed files with 2 additions and 2 deletions

View file

@ -102,7 +102,7 @@ update_cb (DBusGProxy *proxy, GError *error, gpointer user_data)
/**
* nm_remote_connection_commit_changes:
* @connection: the #NMRemoteConnection
* @callback: (scope async) (allow none): a function to be called when the
* @callback: (scope async) (allow-none): a function to be called when the
* commit completes
* @user_data: (closure): caller-specific data to be passed to @callback
*

View file

@ -604,7 +604,7 @@ save_hostname_cb (DBusGProxy *proxy,
* @settings: the %NMRemoteSettings
* @hostname: the new persistent hostname to set, or NULL to clear any existing
* persistent hostname
* @callback: (scope async) (allow none): callback to be called when the
* @callback: (scope async) (allow-none): callback to be called when the
* hostname operation completes
* @user_data: (closure): caller-specific data passed to @callback
*