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 739100 - get_proxy_type_func paramater in DBusObjectManagerClient.new_for_bus should be nullable
get_proxy_type_func paramater in DBusObjectManagerClient.new_for_bus should b...
Status: RESOLVED FIXED
Product: vala
Classification: Core
Component: Bindings: GLib
0.34.x
Other All
: Normal normal
: ---
Assigned To: Vala maintainers
Vala maintainers
Depends on:
Blocks:
 
 
Reported: 2014-10-24 02:32 UTC by David Lechner
Modified: 2017-04-27 08:52 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Patch to fix bindings (4.80 KB, patch)
2014-10-24 02:32 UTC, David Lechner
committed Details | Review

Description David Lechner 2014-10-24 02:32:36 UTC
Created attachment 289243 [details] [review]
Patch to fix bindings

The documentation says that this can be null:

> A DBusProxyTypeFunc function or null to always construct DBusProxy proxies.

And it was already nullable for the sync versions of the same call.
Comment 1 Rico Tzschichholz 2017-04-27 08:52:36 UTC
Comment on attachment 289243 [details] [review]
Patch to fix bindings

commit 7147ebab96498266515c9457d3fab8ee090e0aac
Author: David Lechner <david@lechnology.com>
Date:   Thu Oct 23 21:31:03 2014 -0500

    gio-2.0: Fix async DBusObjectManagerClient.new/new_for_bus constructors
    
    Passing null is allowed for get_proxy_type_func parameter.