Ryan Lortie 02f5cdd983 GDBusConnection: move 'Set' typecheck to worker
We presently do a lot of checks on property sets (signature check,
correct interface, property exists, etc.) from the worker thread before
dispatching the call to the user's thread.  The typecheck, however, is
saved until just before calling the user's vfunc, in their thread.

My best guess is that this was done to save having to unpack the value
from the tuple twice (since we don't unpack it until we're just about
the call the user).

This patch moves the check to the same place as all of the other checks.

The purpose of this change is to allow for sharing this check with the
(soon-to-be-introduced) case of handing property sets from
method_call().

This change has a minor side effect: error messages generated by sending
invalid values to property sets are no longer guaranteed to be correctly
ordered with respect to the void returns from successful property sets.
They will instead be correctly ordered with respect to the other error
messages.

https://bugzilla.gnome.org/show_bug.cgi?id=698375
2013-06-22 13:37:54 -04:00
..
2013-06-02 20:01:56 -04:00
2012-12-12 15:20:22 +01:00
2012-02-02 16:22:42 +01:00
2013-02-15 05:39:20 -05:00
2013-06-02 01:40:39 -04:00
2013-04-21 16:25:15 -04:00
2012-07-03 21:14:41 -04:00
2013-05-25 23:15:36 -04:00
2013-01-29 09:46:04 -05:00
2013-04-21 16:31:14 -04:00
2013-02-04 22:35:29 -05:00
2012-11-28 00:58:03 -05:00
2013-04-21 16:31:14 -04:00
2012-01-01 19:01:14 +01:00
2013-04-21 16:25:15 -04:00
2011-06-07 08:55:31 +08:00
2012-11-29 16:29:47 -03:00
2013-04-21 16:25:15 -04:00
2013-01-29 09:46:04 -05:00
2011-02-08 10:05:00 -05:00
2013-01-13 22:59:40 -05:00
2012-12-12 15:20:22 +01:00
2012-12-12 15:20:22 +01:00
2013-01-29 09:46:04 -05:00
2011-02-08 10:05:00 -05:00
2012-08-19 02:19:27 -04:00
2012-08-19 02:21:02 -04:00
2012-08-19 02:21:02 -04:00
2011-06-04 18:48:19 -04:00
2012-08-18 23:15:58 -04:00
2012-01-13 17:12:57 +01:00
2012-12-29 00:22:34 -05:00
2011-08-29 14:49:32 -04:00
2011-10-16 21:41:15 -04:00
2013-03-26 10:51:48 +01:00
2011-10-02 22:33:10 -04:00
2012-12-12 15:20:22 +01:00
2012-12-12 15:20:22 +01:00
2012-12-12 15:20:22 +01:00
2013-04-21 16:31:14 -04:00
2012-07-03 21:14:41 -04:00
2012-11-15 14:19:06 -05:00
2012-08-18 23:15:58 -04:00