[PATCH] Adding an argument to Sleeping signal
Phillip Susi
psusi at cfl.rr.com
Fri Mar 18 18:05:42 PDT 2011
On 03/11/2011 05:34 AM, Richard Hughes wrote:
> I think a string would be better, as then it's self documenting. With
> regard to the signal emmission, DBus-glib (the precursor to GDBus)
> automatically sends out a DBus signal when the local GOBject sends a
> signal. It's all a bit magic.
I went to do a string at first, but when I got into the g-p-m code, it
already had signals set up using an int. In the interest of simplicity
and conformity, I decided to stick with an int rather than parse strings
and convert when reflecting the signal. Attaching patches to both
upower and g-p-m.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: lock-screen-on-signal.patch
Type: text/x-patch
Size: 7787 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/devkit-devel/attachments/20110318/a951f2ea/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: add-signal-argument.patch
Type: text/x-patch
Size: 4509 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/devkit-devel/attachments/20110318/a951f2ea/attachment-0001.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 262 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freedesktop.org/archives/devkit-devel/attachments/20110318/a951f2ea/attachment.pgp>
More information about the devkit-devel
mailing list