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 597910 - [Moblin] Fix crash caused by invalid cast
[Moblin] Fix crash caused by invalid cast
Status: RESOLVED FIXED
Product: gnome-bluetooth
Classification: Core
Component: moblin
unspecified
Other All
: Normal normal
: ---
Assigned To: gnome-bluetooth-general-maint@gnome.bugs
gnome-bluetooth-general-maint@gnome.bugs
Depends on:
Blocks:
 
 
Reported: 2009-10-09 14:43 UTC by Joshua Lock
Modified: 2009-10-09 14:44 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
[Moblin] Fix crash caused by invalid cast (3.54 KB, patch)
2009-10-09 14:43 UTC, Joshua Lock
committed Details | Review

Description Joshua Lock 2009-10-09 14:43:23 UTC
I badly merged some branches before an earlier patch which resulted in a
GtkButton being sent as the data to a callback which I was then casting to
a MoblinPanel.

This patch fixes that and aims to alleviate this in future by consistently
passing self (a pointer to MoblinPanel) as the callback data.
Comment 1 Joshua Lock 2009-10-09 14:43:25 UTC
Created attachment 145134 [details] [review]
[Moblin] Fix crash caused by invalid cast