* 0 : filters updated
* 1 : no filter hooks to update; not an error.
*/
-
+#if 0
int SetFilter(Tab * tab, gpointer filter)
{
LttvHooks * tmp;
return 0;
}
-
+#endif //0
/**
LttTime start_time = new_time_window.start_time;
LttTime end_time = new_time_window.end_time;
+ g_assert(ltt_time_compare(start_time, end_time) < 0);
+
/* Set scrollbar */
GtkAdjustment *adjustment = gtk_range_get_adjustment(GTK_RANGE(tab->scrollbar));
LttTime upper = ltt_time_sub(time_span.end_time, time_span.start_time);
tab->current_time_manager_lock = FALSE;
}
+void current_position_change_manager(Tab *tab,
+ LttvTracesetContextPosition *pos)
+{
+ LttvTracesetContext *tsc =
+ LTTV_TRACESET_CONTEXT(tab->traceset_info->traceset_context);
+ TimeInterval time_span = tsc->time_span;
+
+ g_assert(lttv_process_traceset_seek_position(tsc, pos) == 0);
+ LttTime new_time = lttv_traceset_context_position_get_time(pos);
+
+ current_time_change_manager(tab, new_time);
+
+ set_current_position(tab, pos);
+}
+
+
void
on_MEntry5_value_changed (GtkSpinButton *spinbutton,
gpointer user_data)