Re: Vimeo plugin
- From: Joaquim Rocha <joaquimrocha1 gmail com>
- To: grilo-list gnome org
- Subject: Re: Vimeo plugin
- Date: Fri, 23 Apr 2010 15:46:44 +0200
Hi, I agree with Juan and that initialization is, in fact, needed.
Libsoup async session is the one that requires it.
I'll remove the unnecessary stuff Victor pointed out.
Cheers,
--
Joaquim Rocha
http://www.joaquimrocha.comOn Fri, Apr 23, 2010 at 2:27 PM, Juan A. Suarez Romero
<jasuarez igalia com> wrote:
On Fri, 2010-04-23 at 13:41 +0200, Víctor M. Jáquez L. wrote:
> > + if (!g_thread_supported ()) {
> > + g_thread_init (NULL);
> > + }
>
> I'm still not convinced if this initialization is really needed here.
> IMHO
> this is always carried out by the client application.
Client shouldn't take care about how grilo's plugins are coded. So I'm
not sure if this initialization should be done in client's side.
Moreover, let's figure out that none of our plugins require gthread
support, so clients wouldn't invoke g_thread_init.
What would happen if a third-party plugin that requires gthread is
installed in the system?. It is supposedly that client should be able to
use it without rebuilding the client.
IMHO, in Grilo, every plugin should initialize what they need to use.
J.A.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]