Re: [PATCH 01/14] tracker: make query requests asynchronous



On Tue, 2011-01-18 at 11:57 +0000, Lionel Landwerlin wrote:
> On Tue, 2011-01-18 at 12:49 +0100, Juan A. Suárez Romero wrote:
> > On Mon, 2011-01-17 at 10:17 +0000, llandwerlin gmail com wrote:
> > > +  if (priv->tracker_connection == NULL) {
> > > +    error = g_error_new (GRL_CORE_ERROR,
> > > +                        GRL_CORE_ERROR_BROWSE_FAILED,
> > > +                        "Failed to start browse action");
> > >      goto send_error;
> > >    } 
> > 
> > tracker_connection shouldn't be never NULL.
> > 
> > tracker_connection is initialized when creating the source; if
> > connection can't be done, then source won't be registered.
> > 
> 
> Sorry for that, in a later patch I retrieving the connection in an
> asynchronous way, so it might be NULL at some point.
> 

Thanks. I didn't get that patch yet :)

In any case, I think that if tracker connection is lost, then the source
should dissapear.

	J.A.




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