<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
Hello guys,<br>
<br>
As you may already know, I'm porting xfconf to gdbus for 4.14. I
just wanted to share with you some thoughts. Currently libxfconf
relies on GValue (an insane decision of dbus-glib bindings...).
Obviously it makes more sense to rewrite the internal working of
xfconf to rely on GVariant instead, but this implies API
changes/deprecations of some symbols. For this I see two options.<br>
<br>
1) Keep relying on GValue and convert it to a GVariant each time to
send it over the bus-->no API changes.<br>
2) Rewrite the internal working of libxfconf and rely on GVariant
--> API changes:<br>
<i> xfconf_channel_set_property</i> takes GValue<br>
signal <i>property-changed</i> sends GValue.<br>
<br>
Option 2.1 <br>
Deprecate <i>xfconf_channel_set_property </i>and provide <i>xfconf_channel_set_variant</i><br>
Deprecate <i>property-changed</i> signal and provide a new signal
"changed" which sends a GVariant.<br>
<br>
While I vote for 2.1, I'm okay with any of the above solutions.<br>
<br>
Cheers,<br>
ali<br>
</body>
</html>