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 650899 - Glade shouldn't crash if previewer ist not installer / couldn't be launched
Glade shouldn't crash if previewer ist not installer / couldn't be launched
Status: RESOLVED FIXED
Product: glade
Classification: Applications
Component: general
git master
Other Linux
: Normal normal
: ---
Assigned To: Glade 3 Maintainers
Glade 3 Maintainers
Depends on:
Blocks:
 
 
Reported: 2011-05-23 19:21 UTC by Johannes Schmid
Modified: 2011-10-11 20:16 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Patch to fix the issue (796 bytes, patch)
2011-05-23 19:22 UTC, Johannes Schmid
none Details | Review

Description Johannes Schmid 2011-05-23 19:21:31 UTC
Glade currently expects that the previewer is always launched correctly which is dangerous, especially as people might have libgladeui but not glade installed (which could be considered a packaging bug..).

Attach patch fixes this with a g_return_if_fail(), maybe we would want to do something more user-friendly - not sure.
Comment 1 Johannes Schmid 2011-05-23 19:22:06 UTC
Created attachment 188413 [details] [review]
Patch to fix the issue
Comment 2 Tristan Van Berkom 2011-10-11 20:16:57 UTC
Applied in glade-3-10 and master.

Thanks for the patch