strange D-Bus interactions with gtk_dialog_run

Simon McVittie simon.mcvittie at collabora.co.uk
Sat Nov 17 05:54:12 PST 2007


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Fri, 16 Nov 2007 at 08:08:40 -0800, Gnaural wrote:
> Incidentally, i did not see anything like this problem
> in my earlier try at a D-Bus server using the
> dbus-glib bindings [I only abandoned that server
> because cross-compiling dbus-glib binding for Win32
> isn't feasible].

Ole Andre Vadla Ravnås has been able to compile the Telepathy stack
(including dbus-glib, which a lot of our components depend on) under
MSVC - it may be worth investigating
<http://people.collabora.co.uk/~oleavr/OABuild/>.

I suspect that the problem with your code is that it doesn't handle a
recursive main loop - gtk_dialog_run re-enters the main loop, which is
rather odd.

    Simon
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: OpenPGP key: http://www.pseudorandom.co.uk/2003/contact/ or pgp.net

iD8DBQFHPvKEWSc8zVUw7HYRApCQAKCCFMLWmjgWAYQPa33ldCDXJMXCOACglQ+F
llqO1faBMP7eH8ToPe9pLAo=
=1hdv
-----END PGP SIGNATURE-----


More information about the dbus mailing list