OK, I've got something in the form of a GValue (in this case, integer numeric
data
obtained with gtk_container_child_get()), and I'd like to get access to the
actual number inside. How is this done? I've looked into GValue's
documentation, but all I see is stuff that deals only with GValues and
On Mon, 2007-11-19 at 11:50 +0100, Dan H wrote:
> OK, I've got something in the form of a GValue (in this case, integer numeric
> data
> obtained with gtk_container_child_get()), and I'd like to get access to the
> actual number inside. How is this done? I've looked into GValue's
> documentatio
Dan H wrote:
> OK, I've got something in the form of a GValue (in this case, integer numeric
> data
> obtained with gtk_container_child_get()), and I'd like to get access to the
> actual number inside. How is this done? I've looked into GValue's
> documentation, but all I see is stuff that deals
On Mon, 19 Nov 2007 10:56:35 +
Emmanuele Bassi <[EMAIL PROTECTED]> wrote:
> > Any hints?
>
> just one page further:
>
> http://library.gnome.org/devel/gobject/stable/gobject-Standard-Parameter-and-Value-Types.html
Ah, I'm using the Debian-supplied version 2.12.4, and your page refers to
2.
On Mon, 2007-11-19 at 12:18 +0100, Dan H wrote:
> On Mon, 19 Nov 2007 10:56:35 +
> Emmanuele Bassi <[EMAIL PROTECTED]> wrote:
>
> > > Any hints?
> >
> > just one page further:
> >
> > http://library.gnome.org/devel/gobject/stable/gobject-Standard-Parameter-and-Value-Types.html
>
> Ah, I'm
On Mon, 19 Nov 2007 11:33:36 +
Emmanuele Bassi <[EMAIL PROTECTED]> wrote:
Hallo Emmanuele,
it's not getting better. Here's my code. li->data points to a cild of the
table, and the code compiles without warnings with -W -Wall:
-
g_value_init(&value, G_TYPE_INT);
gtk_c
Le lundi 19 novembre 2007 à 11:33 +, Emmanuele Bassi a écrit :
> On Mon, 2007-11-19 at 12:18 +0100, Dan H wrote:
> > On Mon, 19 Nov 2007 10:56:35 +
> > Emmanuele Bassi <[EMAIL PROTECTED]> wrote:
> >
> > > > Any hints?
> > >
> > > just one page further:
> > >
> > > http://library.gnome.o
On Tue, 20 Nov 2007 01:11:17 +0100
Benoît Dejean <[EMAIL PROTECTED]> wrote:
> > - GValue left_attach;
> > + GValue left_attach = { 0, };
> > +
> > + g_value_init (&left_attach);
> > +
>
> I always though that this requirement was error prone. You just get
> to initialize your GValue twice to make