Re: [PATCH] Some fixes for trunk



Am Mittwoch, 8. August 2007 14:22:10 schrieben Sie:
> On 8/8/07, Helmut Schaa <hschaa suse de> wrote:
> > Am Mittwoch, 8. August 2007 14:02:22 schrieb Tambet Ingo:
> > > ... which calls NetworkManagerAP.c:set_property() for actual
> > > assignment.
> >
> > ... which only sets a GValue but does not copy the raw data over.
> > I think that does glib again :)
>
> Yes, and glib assumes the pointer passed to g_object_get() is pointing
> to an int because we told it earlier:
>
> g_object_class_install_property (object_class, PROP_STRENGTH,
> g_param_spec_int (...))

Exactly ;-)

I was at the same point yesterday but could not find a way to specify an 
int8-property. If that's possible I would like to know about.

> Don't worry, I got it. :)

:-)

Helmut



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