Re: access log



that works, thanks!


Dan Winship wrote:
> On 08/06/2009 06:06 AM, "J. David Ibáñez" wrote:
>>     s_client = (SoupClientContext*) g_value_get_object (++param_values);
>>     if (s_client == NULL)
>>       printf("s_client is NULL\n");
>>
>> This is the output:
>>
>>   n_param_values is 3
>>   [...]: Warning: g_value_get_object: assertion `G_VALUE_HOLDS_OBJECT
>> (value)' failed
>>   [...]
>>   s_client is NULL
> 
> Ah, note the warning; SoupClientContext isn't a GObject, so you can't
> use g_value_get_object() to retrieve it. You need g_value_get_boxed().
> 
> -- Dan


-- 
J. David Ibáñez
Itaapy <http://www.itaapy.com>         Tel +33 (0)1 42 23 67 45
9 rue Darwin, 75018 Paris              Fax +33 (0)1 53 28 27 88


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