if(!tab->events_request_pending)
{
/* Redraw has +20 priority. We want to let the redraw be done while we do
- * our job. */
- g_idle_add_full((G_PRIORITY_HIGH_IDLE + 21),
+ * our job. Mathieu : test with high prio higher than events for better
+ * scrolling. */
+ //g_idle_add_full((G_PRIORITY_HIGH_IDLE + 21),
+ g_idle_add_full((G_PRIORITY_DEFAULT - 2),
(GSourceFunc)execute_events_requests,
tab,
NULL);
/**
* Function to get the filter of the current tab.
- * @param main_win, the main window the viewer belongs to.
* @param filter, a pointer to a filter.
+ *
+ * returns the current filter
*/
-#if 0
LttvFilter *lttvwindow_get_filter(Tab *tab)
{
return tab->filter;
}
-#endif //0
/**
* Function to set the filter of the current tab.
}
+
+GtkWidget *main_window_get_widget(Tab *tab)
+{
+ return tab->mw->mwindow;
+}
+