GDBus: Implementing multiple interfaces with a single object

2017-03-22 Thread Colin Walters
Hey, Is there some example code out there that implements multiple GDBus interfaces using a single GObject? I have an existing subclass of the $prefix_TYPE_$iface_SKELETON and I'd like it to *also* implement a new interface. This is for rpm-ostree, so I'll just make it concrete; I started by do

Re: GDBus: Implementing multiple interfaces with a single object

2017-03-23 Thread Colin Walters
On Wed, Mar 22, 2017, at 09:12 PM, Colin Walters wrote: > This is for rpm-ostree, so I'll just make it concrete; I started by > doing this For the curious, more information in the PR: https://github.com/projectatomic/rpm-ostree/pull/701#issuecommen

Re: g_malloc overhead

2009-01-18 Thread Colin Walters
On Sun, Jan 18, 2009 at 11:43 AM, Martín Vales wrote: > > Other overhead i see is the open dir/file funtions, where in windows we need > do the utf8 to utf16 everytime in windows. If JAVA,.NET and Qt use utf16 by > default why in gnome world we use utf8 by default?. Historically, Unix was a late

Re: g_malloc overhead

2009-01-26 Thread Colin Walters
On Mon, Jan 26, 2009 at 9:12 AM, Behdad Esfahbod wrote: > Lets just say that > UTF-16 is at best implementation details of Firefox. Well, JavaScript is notably UTF-16. Given that the Web, Java and .NET (i.e. all the most important platforms) are all UTF-16 it's likely to be with us for quite a w