After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 672248 - gdbus async proxy test is a non-op
gdbus async proxy test is a non-op
Status: RESOLVED DUPLICATE of bug 674805
Product: glib
Classification: Platform
Component: gdbus
unspecified
Other All
: Normal normal
: ---
Assigned To: David Zeuthen (not reading bugmail)
gtkdev
Depends on:
Blocks:
 
 
Reported: 2012-03-16 17:14 UTC by Allison Karlitskaya (desrt)
Modified: 2012-05-02 03:25 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Allison Karlitskaya (desrt) 2012-03-16 17:14:17 UTC
in gdbus-proxy.c we see this:

static void
test_async (void)
{
  g_dbus_proxy_new_for_bus (G_BUS_TYPE_SESSION,
                            G_DBUS_PROXY_FLAGS_NONE,
                            NULL,                      /* GDBusInterfaceInfo */
                            "com.example.TestService", /* name */
                            "/com/example/TestObject", /* object path */
                            "com.example.Frob",        /* interface */
                            NULL, /* GCancellable */
                            proxy_ready,
                            NULL);
}


No main loop ever runs and, as a result, proxy_ready() is never called.  That's particularly bad because proxy_ready() is actually failing (as can be seen if you add another test to the same file that runs the mainloop later on).
Comment 1 Allison Karlitskaya (desrt) 2012-03-19 16:42:11 UTC
Sorry.  git-bz mishap.
Comment 2 David Zeuthen (not reading bugmail) 2012-05-02 03:25:43 UTC

*** This bug has been marked as a duplicate of bug 674805 ***