HistoryWindow isn't a Midori.Browser
This commit is contained in:
parent
dd39dab307
commit
13b735e382
2 changed files with 2 additions and 2 deletions
|
@ -524,7 +524,7 @@ namespace HistoryList {
|
||||||
if(this.ignoreNextChange) {
|
if(this.ignoreNextChange) {
|
||||||
this.ignoreNextChange = false;
|
this.ignoreNextChange = false;
|
||||||
} else {
|
} else {
|
||||||
Midori.Browser browser = history_window as Midori.Browser;
|
Midori.Browser? browser = Midori.Browser.get_for_widget (new_view);
|
||||||
Midori.View? last_view
|
Midori.View? last_view
|
||||||
= browser.get_data<Midori.View?> ("history-list-last-change");
|
= browser.get_data<Midori.View?> ("history-list-last-change");
|
||||||
|
|
||||||
|
|
|
@ -46,7 +46,7 @@ namespace Midori {
|
||||||
public void block_action (Gtk.Action action);
|
public void block_action (Gtk.Action action);
|
||||||
public void unblock_action (Gtk.Action action);
|
public void unblock_action (Gtk.Action action);
|
||||||
public unowned Gtk.ActionGroup get_action_group ();
|
public unowned Gtk.ActionGroup get_action_group ();
|
||||||
public unowned Browser get_for_widget (Gtk.Widget widget);
|
public static unowned Browser get_for_widget (Gtk.Widget widget);
|
||||||
public unowned string[] get_toolbar_actions ();
|
public unowned string[] get_toolbar_actions ();
|
||||||
public unowned Katze.Array get_proxy_items ();
|
public unowned Katze.Array get_proxy_items ();
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue