X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=ltt%2Fbranches%2Fpoly%2Flttv%2Fmodules%2Fgui%2Fhistogram%2Fhistoeventhooks.c;h=dc37164c8ad6e07dc3d22506ed47145dc7d25ac9;hb=e433e6d6da2cc572a3d14257abe18bc3afd5c7e6;hp=900154b4ef808e137b856a4d99088c7103533187;hpb=d9ba814de610e2d38a49e8daf71b185242102c00;p=lttv.git diff --git a/ltt/branches/poly/lttv/modules/gui/histogram/histoeventhooks.c b/ltt/branches/poly/lttv/modules/gui/histogram/histoeventhooks.c index 900154b4..dc37164c 100644 --- a/ltt/branches/poly/lttv/modules/gui/histogram/histoeventhooks.c +++ b/ltt/branches/poly/lttv/modules/gui/histogram/histoeventhooks.c @@ -178,11 +178,13 @@ static void histo_request_background_data(HistoControlFlowData *histocontrol_flo * @return The widget created. */ GtkWidget * -h_guihistocontrolflow(Tab *tab) +h_guihistocontrolflow(LttvPlugin *plugin) { - g_info("h_guihistocontrolflow, %p", tab); - HistoControlFlowData *histocontrol_flow_data = guihistocontrolflow(tab) ; + LttvPluginTab *ptab = LTTV_PLUGIN_TAB(plugin); + g_info("h_guihistocontrolflow, %p", ptab); + HistoControlFlowData *histocontrol_flow_data = guihistocontrolflow(ptab) ; + Tab *tab = ptab->tab; histocontrol_flow_data->tab = tab; // Unreg done in the GuiHistoControlFlow_Destructor