warning fixed for lttvwindow and controlflow view
[lttv.git] / ltt / branches / poly / lttv / modules / gui / controlflow / module.c
index db6d256f957cc29e97f7ce7ff125db636f822173..dd99d1302348a0237ef803ac4cb5d1fd361885e1 100644 (file)
 
 #include "hGuiControlFlowInsert.xpm"
 
-static LttvModule *Main_Win_Module;
-
-
 /** Array containing instanced objects. Used when module is unloaded */
 GSList *g_control_flow_data_list = NULL ;
 
 
-
-
 /*****************************************************************************
  *                 Functions for module loading/unloading                    *
  *****************************************************************************/
@@ -70,7 +65,8 @@ static void init() {
   g_info("GUI ControlFlow Viewer init()");
 
   /* Register the toolbar insert button and menu entry*/
-  lttvwindow_register_constructor("/",
+  lttvwindow_register_constructor("guicontrolflow",
+                                  "/",
                                   "Insert Control Flow Viewer",
                                   hGuiControlFlowInsert_xpm,
                                   "Insert Control Flow Viewer",
@@ -93,7 +89,6 @@ void destroy_walk(gpointer data, gpointer user_data)
  */
 static void destroy() {
   g_info("GUI Control Flow Viewer destroy()");
-  int i;
 
   g_slist_foreach(g_control_flow_data_list, destroy_walk, NULL );
   
This page took 0.025004 seconds and 4 git commands to generate.