Hi,

the attached patch (courtesy of upstream) fixes the build failure.

Julian
diff -up gnome-chemistry-utils-0.14.10/libs/gcr/document.cc.ftbfs gnome-chemistry-utils-0.14.10/libs/gcr/document.cc
--- gnome-chemistry-utils-0.14.10/libs/gcr/document.cc.ftbfs	2016-02-15 09:43:31.239690397 +0100
+++ gnome-chemistry-utils-0.14.10/libs/gcr/document.cc	2016-02-15 09:43:34.795726066 +0100
@@ -1521,7 +1521,7 @@ void Document::OnExportVRML (const strin
 		if (error) {
 			cerr << "gio error: " << error->message << endl;
 			g_error_free (error);
-			g_object_unref (file);
+			g_object_unref (stream);
 			throw (int) 1;
 		}
 		std::map<std::string, sAtom>AtomsMap;

Reply via email to