The GUI and viewers start
[lttv.git] / ltt / branches / poly / lttv / modules / gui / controlflow / module.c
index f40319741986a767cdac41e752631b215b8ecca9..1c3991795d65da506ccc2583441e6911858a6aa8 100644 (file)
@@ -70,11 +70,11 @@ static void init() {
   g_info("GUI ControlFlow Viewer init()");
 
   /* Register the toolbar insert button */
-  toolbar_item_reg(hGuiControlFlowInsert_xpm, "Insert Control Flow Viewer",
-      h_guicontrolflow);
+  lttvwindow_register_toolbar(hGuiControlFlowInsert_xpm,
+      "Insert Control Flow Viewer", h_guicontrolflow);
 
   /* Register the menu item insert entry */
-  menu_item_reg("/", "Insert Control Flow Viewer", h_guicontrolflow);
+  lttvwindow_register_menu("/", "Insert Control Flow Viewer", h_guicontrolflow);
   
 }
 
@@ -101,10 +101,10 @@ static void destroy() {
   g_slist_free(g_control_flow_data_list);
 
   /* Unregister the toolbar insert button */
-  toolbar_item_unreg(h_guicontrolflow);
+  lttvwindow_unregister_toolbar(h_guicontrolflow);
 
   /* Unregister the menu item insert entry */
-  menu_item_unreg(h_guicontrolflow);
+  lttvwindow_unregister_menu(h_guicontrolflow);
   
 }
 
This page took 0.022672 seconds and 4 git commands to generate.