projects
/
lttv.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix hooks to return a gint instead of a gboolean : makes returning 2 possible
[lttv.git]
/
ltt
/
branches
/
poly
/
lttv
/
lttv
/
main.c
diff --git
a/ltt/branches/poly/lttv/lttv/main.c
b/ltt/branches/poly/lttv/lttv/main.c
index 16c0126f621ee4f2e7212c1eeff40fb929f756b6..29aa288e43a5715ec8dc284004c6bb3d3e8dc76e 100644
(file)
--- a/
ltt/branches/poly/lttv/lttv/main.c
+++ b/
ltt/branches/poly/lttv/lttv/main.c
@@
-16,6
+16,9
@@
* MA 02111-1307, USA.
*/
* MA 02111-1307, USA.
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
#include <lttv/hook.h>
#include <lttv/module.h>
#include <lttv/hook.h>
#include <lttv/module.h>
@@
-262,8
+265,8
@@
void lttv_debug(void *hook_data)
void lttv_fatal(void *hook_data)
{
void lttv_fatal(void *hook_data)
{
-
//
g_log_set_always_fatal(G_LOG_LEVEL_WARNING | G_LOG_LEVEL_CRITICAL);
- g_log_set_always_fatal(G_LOG_LEVEL_CRITICAL);
+ g_log_set_always_fatal(G_LOG_LEVEL_WARNING | G_LOG_LEVEL_CRITICAL);
+
//
g_log_set_always_fatal(G_LOG_LEVEL_CRITICAL);
g_info("Critical log from glib will abort execution");
}
g_info("Critical log from glib will abort execution");
}
This page took
0.022964 seconds
and
4
git commands to generate.