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 701715 - devices: fix warning when creating bluetooth device
devices: fix warning when creating bluetooth device
Status: RESOLVED FIXED
Product: NetworkManager
Classification: Platform
Component: general
unspecified
Other All
: Normal normal
: ---
Assigned To: NetworkManager maintainer(s)
NetworkManager maintainer(s)
Depends on:
Blocks:
 
 
Reported: 2013-06-06 12:07 UTC by Dan Winship
Modified: 2013-06-10 13:36 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
devices: fix warning when creating bluetooth device (2.72 KB, patch)
2013-06-06 12:07 UTC, Dan Winship
committed Details | Review

Description Dan Winship 2013-06-06 12:07:36 UTC
pointed out by pochu on irc
Comment 1 Dan Winship 2013-06-06 12:07:39 UTC
Created attachment 246151 [details] [review]
devices: fix warning when creating bluetooth device

nm_device_bt_new() was trying to set NM_DEVICE_MANAGED, but that's
been read-only now for a while. Fortunately, it was already trying to
set it to FALSE, which is the default, so we can just remove that
line.
Comment 2 Jiri Klimes 2013-06-10 08:21:45 UTC
(In reply to comment #1)
> Created an attachment (id=246151) [details] [review]
> devices: fix warning when creating bluetooth device
> 
> nm_device_bt_new() was trying to set NM_DEVICE_MANAGED, but that's
> been read-only now for a while. Fortunately, it was already trying to
> set it to FALSE, which is the default, so we can just remove that
> line.

It looks good.
Comment 3 Dan Winship 2013-06-10 13:36:49 UTC
Attachment 246151 [details] pushed as 63ea8e5 - devices: fix warning when creating bluetooth device