Update FSF address
[lttv.git] / lttv / modules / gui / resourceview / cfv.c
index 183be8bbf95952eb775d8a526ff43ccf6c08fb19..549fe8d93c4a33cfd83e149312e8c4a9adc1d685 100644 (file)
@@ -12,8 +12,8 @@
  *
  * You should have received a copy of the GNU General Public License
  * along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place - Suite 330, Boston, 
- * MA 02111-1307, USA.
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, 
+ * MA 02110-1301, USA.
  */
 
 #ifdef HAVE_CONFIG_H
@@ -83,16 +83,6 @@ gboolean cfv_scroll_event(GtkWidget *widget, GdkEventScroll *event,
 }
 
 
-/* Toolbar callbacks */
-static void        property_button      (GtkToolButton *toolbutton,
-                                          gpointer       user_data)
-{
-  ControlFlowData *control_flow_data = (ControlFlowData*)user_data;
-
-  g_printf("CFV Property button clicked\n");
-
-}
-
 /*****************************************************************************
  *                     Control Flow Viewer class implementation              *
  *****************************************************************************/
@@ -107,12 +97,8 @@ static void        property_button      (GtkToolButton *toolbutton,
 ControlFlowData *
 resourceview(LttvPluginTab *ptab)
 {
-  Tab *tab = ptab->tab;
-  GtkWidget *tmp_toolbar_icon;
   GtkWidget *process_list_widget, *drawing_widget, *drawing_area;
-  //ControlFlowData* control_flow_data = g_new(ControlFlowData,1) ;
   LttvPluginCFV *plugin_cfv = g_object_new(LTTV_TYPE_PLUGIN_CFV, NULL);
-  GtkTooltips *tooltips = gtk_tooltips_new();
   ControlFlowData* control_flow_data = plugin_cfv->cfd;
   control_flow_data->ptab = ptab;
   control_flow_data->tab = ptab->tab;
@@ -280,8 +266,9 @@ guicontrolflow_destructor(gpointer data)
   g_info("%p, %p, %p", update_time_window_hook, plugin_cfv, tab);
   if(GTK_IS_WIDGET(guicontrolflow_get_widget(plugin_cfv->cfd)))
     g_info("widget still exists");
-  
+#ifdef BABEL_CLEANUP
   lttv_filter_destroy(plugin_cfv->cfd->filter);
+#endif //babel_cleanup
   /* Process List is removed with it's widget */
   //ProcessList_destroy(control_flow_data->process_list);
   if(tab != NULL)
This page took 0.025749 seconds and 4 git commands to generate.