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 157540 - gnome-audio-profiles-properties crash
gnome-audio-profiles-properties crash
Status: RESOLVED DUPLICATE of bug 153496
Product: gnome-media
Classification: Deprecated
Component: media profiles
2.9.x
Other Linux
: Urgent critical
: ---
Assigned To: Thomas Vander Stichele
gnome media maintainers
Depends on:
Blocks:
 
 
Reported: 2004-11-06 19:56 UTC by Christophe Fergeau
Modified: 2005-02-04 08:45 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
fixes the crash (2.17 KB, patch)
2004-11-06 19:57 UTC, Christophe Fergeau
none Details | Review

Description Christophe Fergeau 2004-11-06 19:56:18 UTC
* open gnome-audio-profiles-properties
* click on "edit"
* kaboom!

This comes from an incomplete handling of the custom GMAudioProfileEdit object
from the glade file. Even though libglade properly creates (with additionnal
glade_require is needed, I dunno) the GMAudioProfile from
gnome-audio-profiles.glade2, all the children of this widgets aren't processed
by libglade. 
From what I understood from libglade code, child widgets are processed when a
non NULL GladeBuildChildrenFunc is given to glade_register_widget. But then this
requires to also pass in a GladeFindInternalChildFunc to glade_register_widget.
The attached patch does that, and works for me (ie the window shows up instead
of the app crashing), but the OK/Cancel buttons are non functional.
Comment 1 Christophe Fergeau 2004-11-06 19:57:30 UTC
Created attachment 33501 [details] [review]
fixes the crash
Comment 2 Ronald Bultje 2004-11-06 22:39:35 UTC
Thomas, I can confirm this when running uninstalled. Please look at this.
Comment 3 Subodh Soni 2004-12-09 09:12:40 UTC
The crash bug is fixed but now there is something else which crops up. Here's
the description of it:
1. Start gnome-aduio-file-properties dialog
2. Click on any of the items and click on edit. [Earlier this was where it used
to crash]
3. Now you will get a dialog for editing the profile for the selected GMAudio.
4. Clicking on either Cancel OR OK has no effect and you will have to close that
window get rid of it.

 
Comment 4 Ronald Bultje 2005-02-03 23:29:49 UTC
That's fixed already.

*** This bug has been marked as a duplicate of 153495 ***
Comment 5 Christophe Fergeau 2005-02-04 08:45:41 UTC

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