X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=ltt%2Fbranches%2Fpoly%2Flttv%2Fmodules%2Fgui%2Flttvwindow%2Flttvwindow%2Flttvwindow.c;h=92705b2b997be2d9fcacd597f41c0b0512631dab;hb=8321ae6a5238e9fda9d9517c9eec8d1a2980dfd2;hp=d76ce1545b792d2d4121220a45e789c0e8a83ac7;hpb=203eb6f75ad579321e4fc8dc308eb0b2d66d86d9;p=lttv.git diff --git a/ltt/branches/poly/lttv/modules/gui/lttvwindow/lttvwindow/lttvwindow.c b/ltt/branches/poly/lttv/modules/gui/lttvwindow/lttvwindow/lttvwindow.c index d76ce154..92705b2b 100644 --- a/ltt/branches/poly/lttv/modules/gui/lttvwindow/lttvwindow/lttvwindow.c +++ b/ltt/branches/poly/lttv/modules/gui/lttvwindow/lttvwindow/lttvwindow.c @@ -938,8 +938,10 @@ void lttvwindow_events_request(Tab *tab, 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); @@ -1024,15 +1026,14 @@ LttTime lttvwindow_get_current_time(Tab *tab) /** * 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. @@ -1122,3 +1123,9 @@ void events_request_free(EventsRequest *events_request) } + +GtkWidget *main_window_get_widget(Tab *tab) +{ + return tab->mw->mwindow; +} +