Re: [PATCH spice-gtk 12/14] Make SpiceURI a public API

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

Attachment: pgpe_kwXxN4dJ.pgp
Description: PGP signature

_______________________________________________
Spice-devel mailing list
Spice-devel@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/spice-devel

[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]     [Monitors]