<div dir="ltr"><meta http-equiv="content-type" content="text/html; charset=utf-8">Very useful information<div>Thanks David !</div><div><br></div><div>ik.</div><div><br></div><br><div class="gmail_quote">On Wed, Jul 21, 2010 at 5:24 PM, David Zeuthen <span dir="ltr">&lt;<a href="mailto:zeuthen@gmail.com">zeuthen@gmail.com</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Hi,<br>
<div class="im"><br>
On Wed, Jul 21, 2010 at 9:39 AM, Mohamed Ikbel Boulabiar<br>
&lt;<a href="mailto:boulabiar@gmail.com">boulabiar@gmail.com</a>&gt; wrote:<br>
&gt; Hi,<br>
&gt; I haven&#39;t seen a separate thread announcement here for the GDbus new<br>
&gt; bindings.<br>
&gt; What&#39;s the status/future of this bindings ?<br>
<br>
</div>These bindings are part of the upcoming GLib 2.26 release - they<br>
haven&#39;t been announced on this list but has been discussed a couple of<br>
times. These D-Bus bindings are pretty much complete, we are currently<br>
only tweaking stuff.<br>
<div class="im"><br>
&gt; And where can I find example files showing very simple use (exporting<br>
&gt; objects, listening to signals, ...) ?<br>
&gt; I am still very new to GDBus, so I have just generated code from an xml file<br>
&gt; using gdbus-codegen (which was named gdbus-binding-tool one month ago right<br>
&gt; ?).<br>
<br>
</div>For the record, gdbus-codegen(1) is here<br>
<br>
<a href="http://cgit.freedesktop.org/~david/gdbus-binding-tool/" target="_blank">http://cgit.freedesktop.org/~david/gdbus-binding-tool/</a><br>
<br>
and isn&#39;t yet done (although I&#39;m pretty sure the API of generated code<br>
isn&#39;t going to change much). For starters, the code generated is way<br>
too big - if we&#39;re a bit more careful we can probably fix that. The<br>
long term plan is to move gdbus-codegen(1) into GLib - that will<br>
happen for 2.28 - we&#39;re not in a hurry to finish that part of the<br>
gdbus effort.<br>
<div class="im"><br>
&gt; I need some example to speed up with my testing and code.<br>
<br>
</div>The gdbus core bindings have tons of examples, see<br>
<br>
 <a href="http://library.gnome.org/devel/gio/unstable/" target="_blank">http://library.gnome.org/devel/gio/unstable/</a><br>
<br>
and<br>
<br>
<a href="http://git.gnome.org/browse/glib/tree/gio/tests" target="_blank">http://git.gnome.org/browse/glib/tree/gio/tests</a><br>
<br>
The gdbus-codegen(1) tool also have a good amount of documention,<br>
here&#39;s a snapshot<br>
<br>
 <a href="http://people.freedesktop.org/~david/gdbus-codegen-20100629/gdbus-codegen.html" target="_blank">http://people.freedesktop.org/~david/gdbus-codegen-20100629/gdbus-codegen.html</a><br>
<br>
but note that gdbus-codegen(1) is still in flux.<br>
<font color="#888888"><br>
    David<br>
</font></blockquote></div><br></div>