[webkit-gtk] How to change the user-agent string ? How to use properties ?

Gustavo Noronha Silva gns at gnome.org
Fri Jun 18 08:39:52 PDT 2010

On Fri, 2010-06-18 at 00:21 -0500, Diego Escalante Urrelo wrote:
> char *value = "My super string";
> g_object_set (settings, "user-agent", &value, NULL);

g_object_set (settings, "user-agent", "My super string", NULL);

This sounds better =). &value there would provide the function with a
char**, which is not what it is expecting.

See ya,

Gustavo Noronha Silva <gns at gnome.org>
GNOME Project

More information about the webkit-gtk mailing list