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 <g...@gnome.org>
GNOME Project

_______________________________________________
webkit-gtk mailing list
webkit-gtk@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-gtk

Reply via email to