diff --git a/gtk/gtknotebook.c b/gtk/gtknotebook.c index 7a15009065..04455f6d78 100644 --- a/gtk/gtknotebook.c +++ b/gtk/gtknotebook.c @@ -140,8 +140,6 @@ #define SCROLL_DELAY_FACTOR 5 #define SCROLL_THRESHOLD 12 #define DND_THRESHOLD_MULTIPLIER 4 -#define FRAMES_PER_SECOND 45 -#define MSECS_BETWEEN_UPDATES (1000 / FRAMES_PER_SECOND) #define TIMEOUT_INITIAL 500 #define TIMEOUT_REPEAT 50 @@ -203,7 +201,6 @@ struct _GtkNotebookPrivate GList *switch_tab; guint32 timer; - guint32 timestamp; guint button : 2; guint child_has_focus : 1; @@ -3298,11 +3295,6 @@ gtk_notebook_motion_notify (GtkWidget *widget, stop_scrolling (notebook); } - if (event->time < priv->timestamp + MSECS_BETWEEN_UPDATES) - return FALSE; - - priv->timestamp = event->time; - tab_prelight (notebook, (GdkEvent *)event); /* While animating the move, event->x is relative to the flying tab