public override void loadItems() throws GLib.Error // : function(cb, sync) == original was async.
{
-
- GLib.FileUtils.get_contents(this.path, out this.contents);
- this.loaded = true;
+ if (this.loaded) {
+ return;
+ }
+ GLib.FileUtils.get_contents(this.path, out this.contents);
+ this.loaded = true;
}