use guint32 before and after
authorcompudj <compudj@04897980-b3bd-0310-b5e0-8ef037075253>
Wed, 14 Sep 2005 16:40:59 +0000 (16:40 +0000)
committercompudj <compudj@04897980-b3bd-0310-b5e0-8ef037075253>
Wed, 14 Sep 2005 16:40:59 +0000 (16:40 +0000)
git-svn-id: http://ltt.polymtl.ca/svn@1183 04897980-b3bd-0310-b5e0-8ef037075253

ltt/branches/poly/lttv/modules/gui/detailedevents/events.c

index df3fc2170cb3e7b433087db1b55f7873d5819256..32f8ca3f65ffa000da843d93d056f9b792835759 100644 (file)
@@ -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;
This page took 0.024378 seconds and 4 git commands to generate.