Re: Trouble finding GIR constructor for Soup.Cookie



Why is "Soup.Cookie.new" failing for you? It works for me.

On Sat, Jul 23, 2011 at 2:55 PM, Ricardo Gladwell <ricardo gladwell gmail com> wrote:
Hi

Thanks for the tip, that seemed to eliminate the problem.

Is *.prototype a common feature of most GIR objects? What does it mean?


TIA...

--
Ricardo Gladwell <ricardo gladwell gmail com>
http://www.google.com/profiles/ricardo.gladwell
Twitter: @rgladwell - MSN: axonrg gmail com

On 07/23/2011 03:31 PM, 俞颐超 wrote:
know nothing about soup but this seems work

Soup.Cookie.prototype.new('SID', '', '.google.com <http://google.com>',

'/', -1)

On Sat, Jul 23, 2011 at 8:39 AM, Ricardo Gladwell
<ricardo gladwell gmail com <mailto:ricardo.gladwell@gmail.com>> wrote:

   Hi Guys

   Sorry to bump, but can anyone help with this? Or should I raise a big?

   TIA...

   --
   Ricardo Gladwell <ricardo gladwell gmail com
   <mailto:ricardo.gladwell@gmail.com>>    Twitter: @rgladwell - MSN: axonrg gmail com <mailto:axonrg gmail com>


   On 17 July 2011 12:51, Ricardo Gladwell <ricardo gladwell gmail com
   <mailto:ricardo.gladwell@gmail.com>> wrote:
    > Hi Florian,
    >
    > Thanks for the feedback.
    >
    > On 07/17/2011 12:47 PM, Florian Max wrote:
    >>
    >> Maybe you forgot to import the soup namespace?
    >
    > I can successfully call and use other Soup objects, for example the
    > following executes successfully without error in the same source
   file:
    >
    > let message = Soup.Message.new('GET',
    > "https://www.google.com/accounts/ClientLogin?service=reader");
    >
    > I make the following declaration earlier:
    >
    > const Soup = imports.gi.Soup;
    >
    > Regards...
    >
    > --
    > Ricardo Gladwell <ricardo gladwell gmail com
   <mailto:ricardo.gladwell@gmail.com>>     > Twitter: @rgladwell - MSN: axonrg gmail com <mailto:axonrg gmail com>

    >
   _______________________________________________
   gnome-shell-list mailing list
   gnome-shell-list gnome org <mailto:gnome-shell-list@gnome.org>
_______________________________________________
gnome-shell-list mailing list
gnome-shell-list gnome org
http://mail.gnome.org/mailman/listinfo/gnome-shell-list



--
  Jasper



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