[Spice-devel] [PATCH spice-gtk 12/14] Make SpiceURI a public API
Christophe Fergeau
cfergeau at redhat.com
Wed Feb 12 04:50:12 PST 2014
On Wed, Feb 12, 2014 at 11:19:10AM +0100, Marc-André Lureau wrote:
> +G_GNUC_INTERNAL
> +void spice_uri_set_user(SpiceURI *self, const gchar *value)
> +{
> + g_return_if_fail(SPICE_IS_URI(self));
> +
> + g_free(self->user);
> + self->user = g_strdup(value);
> + g_object_notify((GObject *)self, "user");
> +}
> +
> +G_GNUC_INTERNAL
> +const gchar* spice_uri_get_password(SpiceURI *self)
> +{
> + g_return_val_if_fail(SPICE_IS_URI(self), NULL);
> + return self->password;
> +}
This whole file looks like an older version (G_GNUC_INTERNAL was not there
in v1, and there was API documentation before each func).
Christophe
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 181 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/spice-devel/attachments/20140212/ba43819e/attachment.pgp>
More information about the Spice-devel
mailing list