1
0
Fork 0

Small fixes (upgrade Vala)

This commit is contained in:
Kolan Sh 2020-04-29 11:13:58 +03:00
parent c5a7b01170
commit e00f9ecec9
1 changed files with 3 additions and 1 deletions

View File

@ -65,7 +65,9 @@ namespace LAview.DataExample {
case "AnotherRequest": return "Another Answer";
case "Manual.SampleRequest": return "Manual Sample Answer";
case "MainChart":
var cache_dir = (host as IHostCore).get_cache_dir ();
var h = host as IHostCore;
assert (h != null);
var cache_dir = h.get_cache_dir ();
// TODO: save picture in path: cache_dir + "MainChart.png";
return "MainChart";