From: compudj Date: Wed, 14 Sep 2005 16:40:59 +0000 (+0000) Subject: use guint32 before and after X-Git-Tag: v0.12.20~2306 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=1b1c67555d2f1f39ce6e247373d68f96ed5b23ac;p=lttv.git use guint32 before and after git-svn-id: http://ltt.polymtl.ca/svn@1183 04897980-b3bd-0310-b5e0-8ef037075253 --- 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;