Pass the correct parent in the web-view-ready callback
This was overlooked when changing the packing of the view.
This commit is contained in:
parent
f2f0f16dd2
commit
476f64e9bc
1 changed files with 1 additions and 1 deletions
|
@ -2462,7 +2462,7 @@ static gboolean
|
||||||
webkit_web_view_web_view_ready_cb (GtkWidget* web_view,
|
webkit_web_view_web_view_ready_cb (GtkWidget* web_view,
|
||||||
MidoriView* view)
|
MidoriView* view)
|
||||||
{
|
{
|
||||||
GtkWidget* new_view = gtk_widget_get_parent (web_view);
|
GtkWidget* new_view = gtk_widget_get_parent (gtk_widget_get_parent (web_view));
|
||||||
MidoriNewView where = MIDORI_NEW_VIEW_TAB;
|
MidoriNewView where = MIDORI_NEW_VIEW_TAB;
|
||||||
|
|
||||||
/* FIXME: Open windows opened by scripts in tabs if they otherwise
|
/* FIXME: Open windows opened by scripts in tabs if they otherwise
|
||||||
|
|
Loading…
Reference in a new issue