projects
/
lttv.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
correctly add -lm for math lib
[lttv.git]
/
ltt
/
branches
/
poly
/
lttv
/
modules
/
gui
/
controlflow
/
module.c
diff --git
a/ltt/branches/poly/lttv/modules/gui/controlflow/module.c
b/ltt/branches/poly/lttv/modules/gui/controlflow/module.c
index db6d256f957cc29e97f7ce7ff125db636f822173..dd99d1302348a0237ef803ac4cb5d1fd361885e1 100644
(file)
--- a/
ltt/branches/poly/lttv/modules/gui/controlflow/module.c
+++ b/
ltt/branches/poly/lttv/modules/gui/controlflow/module.c
@@
-47,15
+47,10
@@
#include "hGuiControlFlowInsert.xpm"
#include "hGuiControlFlowInsert.xpm"
-static LttvModule *Main_Win_Module;
-
-
/** Array containing instanced objects. Used when module is unloaded */
GSList *g_control_flow_data_list = NULL ;
/** Array containing instanced objects. Used when module is unloaded */
GSList *g_control_flow_data_list = NULL ;
-
-
/*****************************************************************************
* Functions for module loading/unloading *
*****************************************************************************/
/*****************************************************************************
* 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*/
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",
"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()");
*/
static void destroy() {
g_info("GUI Control Flow Viewer destroy()");
- int i;
g_slist_foreach(g_control_flow_data_list, destroy_walk, NULL );
g_slist_foreach(g_control_flow_data_list, destroy_walk, NULL );
This page took
0.023392 seconds
and
4
git commands to generate.