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 637476 - BluetoothApplet connects signals to finalized objects
BluetoothApplet connects signals to finalized objects
Status: RESOLVED FIXED
Product: gnome-bluetooth
Classification: Core
Component: applet
unspecified
Other Linux
: Normal normal
: ---
Assigned To: gnome-bluetooth-general-maint@gnome.bugs
gnome-bluetooth-general-maint@gnome.bugs
Depends on:
Blocks:
 
 
Reported: 2010-12-17 16:46 UTC by Giovanni Campagna
Modified: 2010-12-17 17:48 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
BluetoothApplet: ensure that ->device_model is valid (1.01 KB, patch)
2010-12-17 16:46 UTC, Giovanni Campagna
committed Details | Review

Description Giovanni Campagna 2010-12-17 16:46:02 UTC
This is because it does not nullify ->device_model when ->default_adapter is NULL.
Comment 1 Giovanni Campagna 2010-12-17 16:46:30 UTC
Created attachment 176597 [details] [review]
BluetoothApplet: ensure that ->device_model is valid

Set ->device_model to NULL when ->default_adapter is NULL as well,
so we won't connect signals to it, and won't make wrong assumptions
on it.