Commit 609ddec1 authored by Paolo Borelli's avatar Paolo Borelli

Always return FALSE from the notebook leave_notify handler

As discussed on IRC with Benjamin, this should not make much
difference in practice, but it is more correct
parent 84b44dd2
......@@ -3305,21 +3305,21 @@ gtk_notebook_leave_notify (GtkWidget *widget,
GtkNotebookPrivate *priv = notebook->priv;
gint x, y;
if (!get_widget_coordinates (widget, (GdkEvent *)event, &x, &y))
return FALSE;
if (priv->prelight_tab != NULL)
if (get_widget_coordinates (widget, (GdkEvent *)event, &x, &y))
{
tab_prelight (notebook, (GdkEvent *)event);
}
if (priv->prelight_tab != NULL)
{
tab_prelight (notebook, (GdkEvent *)event);
}
if (priv->in_child)
{
priv->in_child = 0;
gtk_notebook_redraw_arrows (notebook);
if (priv->in_child)
{
priv->in_child = 0;
gtk_notebook_redraw_arrows (notebook);
}
}
return TRUE;
return FALSE;
}
static GtkNotebookPointerPosition
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment