removed unused code

This commit is contained in:
Artem Anufrij 2017-09-05 20:37:48 +02:00
parent 39b2daf91f
commit 1b105158ba
2 changed files with 7 additions and 5 deletions

View file

@ -43,7 +43,7 @@ namespace Webpin {
this.events |= Gdk.EventMask.STRUCTURE_MASK;
set_wmclass (desktop_file.url, desktop_file.url);
web_app = new WebApp(desktop_file.name, desktop_file.url);
web_app = new WebApp (desktop_file.url);
var headerbar = new Gtk.HeaderBar ();
headerbar.title = desktop_file.name;
@ -124,10 +124,12 @@ namespace Webpin {
}
public void toggle_fullscreen() {
if(is_full_screen)
if(is_full_screen) {
unfullscreen();
else
}
else {
fullscreen();
}
is_full_screen = !is_full_screen;
}

View file

@ -44,7 +44,7 @@ namespace Webpin {
public signal void request_finished ();
public WebApp (string webapp_name, string app_url) {
public WebApp (string app_url) {
this.app_url = app_url;