Simon McVittie 20387d262f GDBusProxy: if a well-known name is not owned, don't GetAll from the dbus-daemon
If you run:

    ( cd gio/tests && G_DBUS_DEBUG=all ./gdbus-proxy-well-known-name )

you can see that in the case where the name com.example.TestService isn't
owned yet, the GDBusProxy calls GetAll() with no destination, resulting
in an error reply from the peer (the dbus-daemon itself). That's clearly
not right!

However, if priv->name is NULL, that indicates the special case where we
really do want to talk directly to a peer, instead of via the bus daemon
(most likely to be used on peer-to-peer connections); in that special
case, do call GetAll().

Signed-off-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
Signed-off-by: David Zeuthen <davidz@redhat.com>
2011-08-15 12:49:58 -04:00
..
2010-08-13 17:23:44 -04:00
2011-05-03 07:07:41 -04:00
2011-08-05 19:43:47 -04:00
2010-09-02 22:36:47 +03:00
2011-06-12 16:17:30 -04:00
2011-06-04 10:45:54 -04:00
2009-03-31 19:39:16 -04:00
2011-07-12 12:09:31 +02:00
2011-05-18 17:56:50 -04:00
2011-06-04 18:48:19 -04:00
2010-07-12 18:30:14 -04:00
2011-06-04 19:05:51 -04:00
2010-07-05 00:56:12 -04:00
2010-03-26 09:30:25 -04:00
2010-07-12 18:30:14 -04:00
2010-07-12 18:30:14 -04:00
2010-07-12 18:30:14 -04:00
2011-06-14 21:06:17 -04:00
2010-10-23 02:31:16 +02:00
2010-07-07 19:53:22 -04:00
2009-11-17 20:27:38 -06:00
2011-07-25 09:24:43 +02:00
2011-06-04 18:48:19 -04:00
2011-06-04 18:48:19 -04:00
2011-02-07 23:35:21 -05:00
2010-01-12 16:34:18 +01:00
2011-08-04 08:54:55 +02:00
2011-06-07 08:55:31 +08:00
2011-08-04 21:47:07 +02:00
2010-09-24 18:24:41 -03:00
2011-08-04 08:54:55 +02:00
2010-07-10 18:04:22 -04:00
2011-05-03 07:07:41 -04:00
2010-07-07 19:53:22 -04:00
2011-02-08 10:05:00 -05:00
2011-02-08 10:05:00 -05:00
2010-11-28 23:55:43 -05:00
2010-06-04 19:03:38 +02:00
2010-11-28 23:55:43 -05:00
2011-06-04 18:48:19 -04:00
2010-08-19 16:32:37 -04:00
2011-01-09 21:45:20 +01:00
2010-12-27 16:24:21 +01:00
2010-04-16 23:23:40 -04:00
2011-06-29 18:07:29 +01:00
2010-11-28 23:55:43 -05:00
2010-12-21 19:53:00 +07:00
2010-09-24 18:24:41 -03:00
2011-03-31 12:47:03 +05:30
2011-08-04 08:54:55 +02:00
2011-06-14 18:51:57 -04:00
2011-05-05 14:09:11 -04:00
2010-09-24 18:24:41 -03:00
2009-07-05 22:35:55 -04:00
2010-07-12 18:30:14 -04:00
2011-08-04 08:54:55 +02:00
2010-07-07 19:53:22 -04:00