update
authorcompudj <compudj@04897980-b3bd-0310-b5e0-8ef037075253>
Sat, 3 Jun 2006 13:56:11 +0000 (13:56 +0000)
committercompudj <compudj@04897980-b3bd-0310-b5e0-8ef037075253>
Sat, 3 Jun 2006 13:56:11 +0000 (13:56 +0000)
git-svn-id: http://ltt.polymtl.ca/svn@1882 04897980-b3bd-0310-b5e0-8ef037075253

ltt/branches/poly/lttv/modules/gui/lttvwindow/lttvwindow/callbacks.c

index e7822f7b80137a63fc25e90210df10161049058c..2a4e9f35f425304b2e53a7508fe0cc7fee5a6290 100644 (file)
@@ -3445,26 +3445,26 @@ void time_change_manager               (Tab *tab,
   /* width seconds */
   gtk_spin_button_set_range(GTK_SPIN_BUTTON(tab->MEntry7),
                             (double)0,
-                            (double)time_span.time_width.tv_sec);
+                            (double)upper.tv_sec);
   gtk_spin_button_set_value(GTK_SPIN_BUTTON(tab->MEntry7),
                             (double)time_width.tv_sec);
 
   /* width nanoseconds */
-  if(time_width.tv_sec == time_span.time_width.tv_sec) {
+  if(time_width.tv_sec == upper.tv_sec) {
     if(time_width.tv_sec == 0) {
       gtk_spin_button_set_range(GTK_SPIN_BUTTON(tab->MEntry8),
                                 (double)1,
-                                (double)time_span.time_width.tv_nsec);
+                                (double)upper.tv_nsec);
     } else {
       gtk_spin_button_set_range(GTK_SPIN_BUTTON(tab->MEntry8),
                                 (double)0,
-                                (double)time_span.time_width.tv_nsec);
+                                (double)upper.tv_nsec);
     }
   }
   else if(time_width.tv_sec == 0) {
     gtk_spin_button_set_range(GTK_SPIN_BUTTON(tab->MEntry8),
                               1.0,
-                              (double)time_span.time_width.tv_nsec);
+                              (double)upper.tv_nsec);
   }
   else /* anywhere else */
     gtk_spin_button_set_range(GTK_SPIN_BUTTON(tab->MEntry8),
This page took 0.026513 seconds and 4 git commands to generate.