Hi Guys

I'm new to Gnome development, looking to create a Gnome Shell
extension for google reader using JavaScript.

However, I'm getting problems trying to figure out the constructor for
the Soup.Cookie object. I've tried:

let cookie = Soup.Cookie.new("SID", "", ".google.com", "/", -1);
let cookie = Soup.Cookie.c_new("SID", "", ".google.com", "/", -1);
let cookie = new Soup.Cookie("SID", "", ".google.com", "/", -1);
let cookie = new Soup.Cookie();

But no combination seems to work. Been using this site to give some
indicators as to what to use:

http://www.roojs.com/seed/gir-1.2-gtk-3.0/gjs/Soup.Cookie.html

But I'm uncertain if these docs are correct.

Please advise. TIA...

--
Ricardo Gladwell <ricardo.gladw...@gmail.com>
http://www.google.com/profiles/ricardo.gladwell
Twitter: @rgladwell - MSN: axo...@gmail.com
_______________________________________________
gnome-shell-list mailing list
gnome-shell-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gnome-shell-list

Reply via email to