viewer_constructor cleanup
authorcompudj <compudj@04897980-b3bd-0310-b5e0-8ef037075253>
Mon, 9 Aug 2004 03:14:41 +0000 (03:14 +0000)
committercompudj <compudj@04897980-b3bd-0310-b5e0-8ef037075253>
Mon, 9 Aug 2004 03:14:41 +0000 (03:14 +0000)
git-svn-id: http://ltt.polymtl.ca/svn@689 04897980-b3bd-0310-b5e0-8ef037075253

ltt/branches/poly/lttv/modules/gui/controlflow/eventhooks.c
ltt/branches/poly/lttv/modules/gui/controlflow/eventhooks.h
ltt/branches/poly/lttv/modules/gui/detailedevents/events.c
ltt/branches/poly/lttv/modules/gui/lttvwindow/lttvwindow/callbacks.c
ltt/branches/poly/lttv/modules/gui/lttvwindow/lttvwindow/lttvwindow.h
ltt/branches/poly/lttv/modules/gui/statistics/statistics.c

index 2b7efbc927c9797cb945c9740f0bab855b49dc6c..2b8dbdb8419b2e684588250beb831cba99ebf5de 100644 (file)
@@ -224,9 +224,9 @@ void request_background_data(ControlFlowData *control_flow_data)
  * @return The widget created.
  */
 GtkWidget *
-h_guicontrolflow(Tab *tab, LttvTracesetSelector * s, char * key)
+h_guicontrolflow(Tab *tab)
 {
-  g_info("h_guicontrolflow, %p, %p, %s", tab, s, key);
+  g_info("h_guicontrolflow, %p", tab);
   ControlFlowData *control_flow_data = guicontrolflow() ;
   
   control_flow_data->tab = tab;
index d5d610a0eb74b35c4e2eef5b5959ff590e418f71..73f9ab92dc7728a3cabd10bc9ded4278ddeafa9a 100644 (file)
@@ -57,7 +57,7 @@
 
 void send_test_data(ProcessList *process_list, Drawing_t *drawing);
 
-GtkWidget *h_guicontrolflow(Tab *tab, LttvTracesetSelector * s, char * key);
+GtkWidget *h_guicontrolflow(Tab *tab);
 
 int event_selected_hook(void *hook_data, void *call_data);
 
index 074dc3bb091b710c44cf103784847aefab2195ad..f2c2ff51b0158582a9505bf490830e782b008c6f 100644 (file)
@@ -151,9 +151,9 @@ void remove_context_hooks(EventViewerData * event_viewer_data,
         LttvTracesetContext * tsc);
 
 //! Event Viewer's constructor hook
-GtkWidget *h_gui_events(Tab *tab, LttvTracesetSelector * s, char* key);
+GtkWidget *h_gui_events(Tab *tab);
 //! Event Viewer's constructor
-EventViewerData *gui_events(Tab *tab, LttvTracesetSelector *s, char *key);
+EventViewerData *gui_events(Tab *tab);
 //! Event Viewer's destructor
 void gui_events_destructor(EventViewerData *event_viewer_data);
 void gui_events_free(EventViewerData *event_viewer_data);
@@ -213,9 +213,9 @@ enum
  * @return The widget created.
  */
 GtkWidget *
-h_gui_events(Tab * tab, LttvTracesetSelector * s, char* key)
+h_gui_events(Tab * tab)
 {
-  EventViewerData* event_viewer_data = gui_events(tab, s, key) ;
+  EventViewerData* event_viewer_data = gui_events(tab) ;
   if(event_viewer_data)
     return event_viewer_data->hbox_v;
   else return NULL;
@@ -229,7 +229,7 @@ h_gui_events(Tab * tab, LttvTracesetSelector * s, char* key)
  * @return The Event viewer data created.
  */
 EventViewerData *
-gui_events(Tab *tab, LttvTracesetSelector * s,char* key )
+gui_events(Tab *tab)
 {
   LttTime end;
   GtkTreeViewColumn *column;
index e8028fd2f9bb1019e7552d25aba97b8252f44c59..875d05f5ec281584d4b30e1b17920d24516a156c 100644 (file)
@@ -212,7 +212,7 @@ void insert_viewer(GtkWidget* widget, lttvwindow_viewer_constructor constructor)
   viewer_container = tab->viewer_container;
 
   s = construct_traceset_selector(tab->traceset_info->traceset);
-  viewer = (GtkWidget*)constructor(tab, s, "Traceset_Selector");
+  viewer = (GtkWidget*)constructor(tab);
   if(viewer)
   {
     //gtk_multivpaned_widget_add(GTK_MULTIVPANED(multivpaned), viewer); 
index a555c75e459bd709a0efd358a1bb5e262763a04d..bc0521522b87ccb76ac8cf77300626ab7d36d311 100644 (file)
@@ -264,9 +264,7 @@ FIXME : explain other important events
 
 
 /* constructor a the viewer */
-//FIXME explain LttvTracesetSelector and key
-typedef GtkWidget * (*lttvwindow_viewer_constructor)
-                (Tab *tab, LttvTracesetSelector * s, char *key);
+typedef GtkWidget* (*lttvwindow_viewer_constructor)(Tab *tab);
 
 
 /**
index 46e5cec92fd5587087c191a358f81b6bab8f9c55..a4a0567cf31aa4b5281e3e609ce49c044f31c82b 100644 (file)
@@ -52,7 +52,7 @@ static void request_background_data(StatisticViewerData *svd);
 GtkWidget *guistatistic_get_widget(StatisticViewerData *svd);
 
 //! Statistic Viewer's constructor hook
-GtkWidget *h_gui_statistic(Tab *tab, LttvTracesetSelector * s, char * key);
+GtkWidget *h_gui_statistic(Tab *tab);
 //! Statistic Viewer's constructor
 StatisticViewerData *gui_statistic(Tab *tab);
 //! Statistic Viewer's destructor
@@ -224,7 +224,7 @@ gui_statistic_destructor(StatisticViewerData *statistic_viewer_data)
  * @return The widget created.
  */
 GtkWidget *
-h_gui_statistic(Tab *tab, LttvTracesetSelector * s, char * key)
+h_gui_statistic(Tab *tab)
 {
   StatisticViewerData* statistic_viewer_data = gui_statistic(tab) ;
 
This page took 0.031611 seconds and 4 git commands to generate.