Commit 2af8a582 authored by Tristan Van Berkom's avatar Tristan Van Berkom

2011-10-11 Johannes Schmid <jhs@gnome.org>

	* gladeui/glade-project.c: Avoid crashing if glade-previewer is not installed, bug 650899.
parent 75f753ca
2011-10-11 Johannes Schmid <jhs@gnome.org>
* gladeui/glade-project.c: Avoid crashing if glade-previewer is not installed, bug 650899.
2011-10-11 Tristan Van Berkom <tvb@gnome.org>
* gladeui/glade-app.h: Make Glade 3.10 use new environment variables for proper
......
......@@ -2013,7 +2013,9 @@ glade_project_preview (GladeProject *project, GladeWidget *gwidget)
if (!preview)
{
/* If the previewer program is somehow missing, this can return NULL */
preview = glade_preview_launch (gwidget, text);
g_return_if_fail (GLADE_IS_PREVIEW (preview));
/* Leave project data on the preview */
g_object_set_data (G_OBJECT (preview), "project", project);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment