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



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.


	J.A.




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