opt_context.add_main_entries (options, null);
opt_context.parse (ref args);
- if (Browser.opt_url == null) {
+ if (webkitpdf.opt_url == null) {
throw new OptionError.BAD_VALUE("missing url");
}
- if (Browser.opt_target_png == null) {
+ if (webkitpdf.opt_target_png == null) {
throw new OptionError.BAD_VALUE("missing png");
}
}
- var browser = new Browser();
- browser.show_all();
+ var browser = new BrowserWindow();
+ browser.el.show_all();
Gtk.main();