Re: Wrapping GSettings in glibmm



On Mon, 2010-06-14 at 13:56 +0200, Murray Cumming wrote:
> On Tue, 2010-06-08 at 17:39 -0400, José Alburquerque wrote:
> > On Thu, 2010-06-03 at 00:33 -0400, José Alburquerque wrote: 
> > > So I did a little to add to what Jonathon had already done.  I hope it  
> > > was done right.  I think there is some more API related to DBus which  
> > > might be worthwhile to wrap but I think that should be determined by  
> > > you, the experienced maintainers.  I'd be happy to help if the API is  
> > > worth wrapping and someone else doesn't already want to work on that.   
> > 
> > I've been thinking about wrapping GVariant and I have some ideas I'd
> > like to try out.  I hope to submit a patch for review soon.
> 
> That's very helpful. I haven't looked at it yet. Can we wrap it like
> GValue?
> 
> Maybe not. I see that it is reference-counted, though maybe not derived
> from GObject, and I see no copy function. I wonder if we can avoid
> having to use it with RefPtr.

My first thought was to wrap it like GValue.  I'm still hoping it's
possible.  I'll know a little later today when I begin to implement.  I
think it might be possible to not use RefPtr if we can wrap it like
GValue.

-- 
José



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