summaryrefslogtreecommitdiff
path: root/gtk/gtknotebook.c
diff options
context:
space:
mode:
authorPaolo Borelli <pborelli@gnome.org>2014-01-14 20:23:52 +0100
committerPaolo Borelli <pborelli@gnome.org>2014-01-14 20:23:52 +0100
commit84b44dd2acd82d907e2e4e3b409a8e784e7ec05a (patch)
treef2a2158adade682edd4817328f2bd117cdf1925a /gtk/gtknotebook.c
parent4a3f21b693d98853d82918c92005d5cbbe30db03 (diff)
downloadgtk+-84b44dd2acd82d907e2e4e3b409a8e784e7ec05a.tar.gz
Readd line removed by mistake in the previous commit
Diffstat (limited to 'gtk/gtknotebook.c')
-rw-r--r--gtk/gtknotebook.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/gtk/gtknotebook.c b/gtk/gtknotebook.c
index 43bf4c8f6b..175b61c803 100644
--- a/gtk/gtknotebook.c
+++ b/gtk/gtknotebook.c
@@ -3303,6 +3303,10 @@ gtk_notebook_leave_notify (GtkWidget *widget,
{
GtkNotebook *notebook = GTK_NOTEBOOK (widget);
GtkNotebookPrivate *priv = notebook->priv;
+ gint x, y;
+
+ if (!get_widget_coordinates (widget, (GdkEvent *)event, &x, &y))
+ return FALSE;
if (priv->prelight_tab != NULL)
{