From 1b1c67555d2f1f39ce6e247373d68f96ed5b23ac Mon Sep 17 00:00:00 2001 From: compudj Date: Wed, 14 Sep 2005 16:40:59 +0000 Subject: [PATCH] use guint32 before and after git-svn-id: http://ltt.polymtl.ca/svn@1183 04897980-b3bd-0310-b5e0-8ef037075253 --- ltt/branches/poly/lttv/modules/gui/detailedevents/events.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/ltt/branches/poly/lttv/modules/gui/detailedevents/events.c b/ltt/branches/poly/lttv/modules/gui/detailedevents/events.c index df3fc217..32f8ca3f 100644 --- a/ltt/branches/poly/lttv/modules/gui/detailedevents/events.c +++ b/ltt/branches/poly/lttv/modules/gui/detailedevents/events.c @@ -646,7 +646,6 @@ void tree_v_get_cursor(EventViewerData *event_viewer_data) #endif //0 } - /* Filter out the key repeats that come too fast */ static gboolean key_handler(GtkWidget *widget, GdkEventKey *event, gpointer user_data) @@ -656,7 +655,7 @@ static gboolean key_handler(GtkWidget *widget, GdkEventKey *event, g_debug("event time : %u , last time : %u", event->time, evd->last_tree_update_time); - if(event->time < evd->last_tree_update_time) + if(guint32_before(event->time, evd->last_tree_update_time)) return TRUE; else return FALSE; -- 2.34.1