projects
/
lttv.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Update FSF address
[lttv.git]
/
lttv
/
modules
/
gui
/
lttvwindow
/
lttvwindow
/
init_module.c
diff --git
a/lttv/modules/gui/lttvwindow/lttvwindow/init_module.c
b/lttv/modules/gui/lttvwindow/lttvwindow/init_module.c
index 5b8289570066bb12da936fdae51a7a92495ccee7..94668d207a88eacf39c66e3d96b3f67df86c34e2 100644
(file)
--- a/
lttv/modules/gui/lttvwindow/lttvwindow/init_module.c
+++ b/
lttv/modules/gui/lttvwindow/lttvwindow/init_module.c
@@
-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
*
* 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., 5
9 Temple Place - Suite 330
, Boston,
- * MA 0211
1-1307
, USA.
+ * Foundation, Inc., 5
1 Franklin Street, Fifth Floor
, Boston,
+ * MA 0211
0-1301
, USA.
*/
/*
*/
/*
@@
-34,9
+34,11
@@
#include <lttv/hook.h>
#include <lttv/option.h>
#include <lttv/module.h>
#include <lttv/hook.h>
#include <lttv/option.h>
#include <lttv/module.h>
-#include <lttv/tracecontext.h>
+
#include <lttv/state.h>
#include <lttv/state.h>
+#ifdef BABEL_CLEANUP
#include <lttv/stats.h>
#include <lttv/stats.h>
+#endif /* BABEL_CLEANUP */
#include <lttvwindow/menu.h>
#include <lttvwindow/toolbar.h>
#include <lttvwindow/lttvwindowtraces.h>
#include <lttvwindow/menu.h>
#include <lttvwindow/toolbar.h>
#include <lttvwindow/lttvwindowtraces.h>
@@
-46,7
+48,6
@@
#include <lttvwindow/mainwindow.h>
#include <lttvwindow/mainwindow-private.h>
#include "callbacks.h"
#include <lttvwindow/mainwindow.h>
#include <lttvwindow/mainwindow-private.h>
#include "callbacks.h"
-#include <ltt/trace.h>
__EXPORT LttvTraceInfo
__EXPORT LttvTraceInfo
@@
-125,7
+126,7
@@
static gboolean window_creation_hook(void *hook_data, void *call_data)
add_pixmap_directory ("../modules/gui/main/pixmaps");
/* First window, use command line trace */
add_pixmap_directory ("../modules/gui/main/pixmaps");
/* First window, use command line trace */
- create_main_window_with_trace_list(g_init_trace
, a_live
);
+ create_main_window_with_trace_list(g_init_trace);
gtk_main ();
gtk_main ();
@@
-187,7
+188,7
@@
static void init() {
g_assert((main_hooks = *(value.v_pointer)) != NULL);
lttv_hooks_add(main_hooks, window_creation_hook, NULL, LTTV_PRIO_DEFAULT);
g_assert((main_hooks = *(value.v_pointer)) != NULL);
lttv_hooks_add(main_hooks, window_creation_hook, NULL, LTTV_PRIO_DEFAULT);
-
+#ifdef BABEL_CLEANUP
{
/* Register state calculator */
LttvHooks *hook_adder = lttv_hooks_new();
{
/* Register state calculator */
LttvHooks *hook_adder = lttv_hooks_new();
@@
-227,6
+228,7
@@
static void init() {
after_request, NULL, NULL,
hook_adder, hook_remover);
}
after_request, NULL, NULL,
hook_adder, hook_remover);
}
+#endif /* BABEL_CLEANUP */
}
void
}
void
@@
-267,4
+269,4
@@
static void destroy() {
LTTV_MODULE("lttvwindow", "Viewer main window", \
"Viewer with multiple windows, tabs and panes for graphical modules", \
LTTV_MODULE("lttvwindow", "Viewer main window", \
"Viewer with multiple windows, tabs and panes for graphical modules", \
- init, destroy, "
stats", "option", "sync
")
+ init, destroy, "
option","state
")
This page took
0.031819 seconds
and
4
git commands to generate.