add plugin interface to objects
[lttv.git] / ltt / branches / poly / lttv / modules / gui / histogram / histoeventhooks.c
index 900154b4ef808e137b856a4d99088c7103533187..dc37164c8ad6e07dc3d22506ed47145dc7d25ac9 100644 (file)
@@ -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
This page took 0.022442 seconds and 4 git commands to generate.