diff --git a/src/main.vala b/src/main.vala index d8a520f..7d7fd00 100644 --- a/src/main.vala +++ b/src/main.vala @@ -33,8 +33,9 @@ public class PluginObjectExample : PluginObject { */ public override string get_readable_name () { stdout.puts ("PluginObjectExample.get_readable_name () called\n"); - stdout.puts ("Call IHostCore.any_host_method () from PluginObjectExample:\n "); - (host as IHostCore).any_host_method (); + stdout.puts ("Call IHostCore.get_cache_dir () from PluginObjectExample:\n "); + var cache_dir = (host as IHostCore).get_cache_dir (); + stdout.printf ("cache dir = %s\n", cache_dir); return _("Protocol Object Example"); } }