Quoting http://library.gnome.org/devel/gdk-pixbuf/unstable/GdkPixbufLoader.html#gdk-pixbuf-loader-close : "If you're just cancelling a load rather than expecting it to be finished, passing NULL for error to ignore it is reasonable." Current implementation doesn't allow for it: -=----=----=----=----=----=----=--- static VALUE loader_close(self) VALUE self; { GError *error = NULL; gboolean res; res = gdk_pixbuf_loader_close(_SELF(self), &error); if(error) RAISE_GERROR(error); return CBOOL2RVAL(res); } -=----=----=----=----=----=----=--- What is the correct rg2 idiom for doing that? Using #close(nil) sounds pretty stupid, but then, what to do? Maybe #close_noerror but then the principle of least surprise (guessing method names and ways to call them) is pretty broken :/ -- Guillaume Cottenceau - http://zarb.org/~gc/
on 31.03.2008 00:14
on 31.03.2008 17:11
Hi, In <dc3bf8580803301513s68a9c9c5yf54e09e260ae337c@mail.gmail.com> "[ruby-gnome2-devel-en] closing a GdkPixbufLoader ignoring errors" on Mon, 31 Mar 2008 00:13:16 +0200, "Guillaume Cottenceau" <gcottenc@gmail.com> wrote: > loader_close(self) > } > -=----=----=----=----=----=----=--- > > What is the correct rg2 idiom for doing that? Using #close(nil) sounds > pretty stupid, but then, what to do? Maybe #close_noerror but then the > principle of least surprise (guessing method names and ways to call > them) is pretty broken :/ Is it good enough to use rescue? begin pixbuf_loader.close rescue Gdk::PixbufError end It is clear for me. Thanks, -- kou
on 31.03.2008 17:29
> end makes sense! I wanted to update the hiki documentation accordingly, but the "generic" username/password I was previously using doesn't seem to work anymore (login "ruby-gnome2..."). -- Guillaume Cottenceau - http://zarb.org/~gc/
on 31.03.2008 17:43
Hi, In <dc3bf8580803310829t14224b29je87f1cf0a18d5781@mail.gmail.com> "Re: [ruby-gnome2-devel-en] closing a GdkPixbufLoader ignoring errors" on Mon, 31 Mar 2008 17:29:16 +0200, "Guillaume Cottenceau" <gcottenc@gmail.com> wrote: > I wanted to update the hiki documentation accordingly, but the > "generic" username/password I was previously using doesn't seem to > work anymore (login "ruby-gnome2..."). I removed authentication on POST and introduced bayes filter. But bayes DB isn't good enough. So your post is rejected. I registered your post as ham. Could you post again? Thanks, -- kou
on 31.03.2008 17:54
> > I wanted to update the hiki documentation accordingly, but the > > "generic" username/password I was previously using doesn't seem to > > work anymore (login "ruby-gnome2..."). > > I removed authentication on POST and introduced bayes > filter. But bayes DB isn't good enough. So your post is > rejected. > > I registered your post as ham. Could you post again? I'm sorry but I don't understand "registered your post as ham".. I've tried to login again but it failed (though I wonder if the old username was not with HTTP authentication), and I've tried to modify the page again, but still the same results: after clicking on "save" I have again the edit box, but this time no "preview" and "save" button, and if I try to go back to the page I see that the modifications are not saved. -- Guillaume Cottenceau - http://zarb.org/~gc/
on 31.03.2008 18:07
Kouhei disabled authentication and has installed spam filtering instead. Your message was mistakenly detected as spam so he marked it as non-spam (ham). I would suggest to use password protection and put the password directly on the website. It's very unlikely that a bot find the password and use it for posting content. Mathieu 2008/4/1, Guillaume Cottenceau <gcottenc@gmail.com>:
on 31.03.2008 23:00
On Mon, Mar 31, 2008 at 6:05 PM, Mathieu Blondel <mblondel@rubyforge.org> wrote: > Kouhei disabled authentication and has installed spam filtering > instead. Your message was mistakenly detected as spam so he marked it > as non-spam (ham). Ah. And how long does it take to show up on the website? It's still not there.. > > > > "generic" username/password I was previously using doesn't seem to > > > > > > ruby-gnome2-devel-en@lists.sourceforge.net > ruby-gnome2-devel-en@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/ruby-gnome2-devel-en > -- Guillaume Cottenceau - http://zarb.org/~gc/
on 31.03.2008 23:24
Hi, Mathieu, thanks for follow my English. 2008/4/1, Guillaume Cottenceau <gcottenc@gmail.com>: > On Mon, Mar 31, 2008 at 6:05 PM, Mathieu Blondel <mblondel@rubyforge.org> wrote: > > Kouhei disabled authentication and has installed spam filtering > > instead. Your message was mistakenly detected as spam so he marked it > > as non-spam (ham). > > > Ah. And how long does it take to show up on the website? It's still not there.. Sorry... Your post still marked as spam... I've added an account that is same username/password before. If you login from menu, your post will not be filtered. Thanks, -- kou
on 31.03.2008 23:38
> > Ah. And how long does it take to show up on the website? It's still not there.. > > Sorry... Your post still marked as spam... > I've added an account that is same username/password before. If you login > from menu, your post will not be filtered. Thanks, it's fine! -- Guillaume Cottenceau - http://zarb.org/~gc/