X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=ltt%2Fbranches%2Fpoly%2Flttv%2Fmodules%2Fgui%2Flttvwindow%2Flttvwindow%2Flttvwindow.c;h=7dd2e0c7eb8f0b06099b37499cd85f62004f61e8;hb=e433e6d6da2cc572a3d14257abe18bc3afd5c7e6;hp=2372124273ceb179f4272dce7dfad5fdcd096712;hpb=d9ba814de610e2d38a49e8daf71b185242102c00;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 23721242..7dd2e0c7 100644 --- a/ltt/branches/poly/lttv/modules/gui/lttvwindow/lttvwindow/lttvwindow.c +++ b/ltt/branches/poly/lttv/modules/gui/lttvwindow/lttvwindow/lttvwindow.c @@ -1057,7 +1057,7 @@ LttTime lttvwindow_get_current_time(Tab *tab) */ LttvFilter *lttvwindow_get_filter(Tab *tab) { - return tab->filter; + return g_object_get_data(G_OBJECT(tab->vbox), "filter"); } /** @@ -1072,14 +1072,13 @@ LttvFilter *lttvwindow_get_filter(Tab *tab) * @param main_win, the main window the viewer belongs to. * @param filter, a pointer to a filter. */ - void lttvwindow_report_filter(Tab *tab, LttvFilter *filter) { LttvAttributeValue value; LttvHooks * tmp; - lttv_filter_destroy(tab->filter); - tab->filter = filter; + //lttv_filter_destroy(tab->filter); + //tab->filter = filter; g_assert(lttv_iattribute_find_by_path(tab->attributes, "hooks/updatefilter", LTTV_POINTER, &value));