class IMDbPlugin : Plugin {
private dynamic DBus.Object server;
List<MovieSource> sources;
+ private weak Osso.Context osso_context;
- public override void hello (Gtk.Window window) {
+ public override void hello (Gtk.Window window, Osso.Context context) {
string filename = Path.build_filename (Environment.get_user_cache_dir(),
"cinaest", "imdb.db", null);
stdout.printf ("IMDb Plugin Loaded. Cache Db: %s\n", filename);
sources = new List<MovieSource> ();
sources.append (source);
+ osso_context = context;
+
// FIXME - this forces the inclusion of config.h
(void) Config.GETTEXT_PACKAGE;
}