Re: access log
- From: Dan Winship <danw gnome org>
- To: "J. David Ibáñez" <jdavid itaapy com>
- Cc: libsoup-list gnome org
- Subject: Re: access log
- Date: Thu, 06 Aug 2009 10:28:59 -0400
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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]