projects
/
lttv.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
make batchanalysis and textDump work
[lttv.git]
/
ltt
/
branches
/
poly
/
lttv
/
modules
/
gui
/
controlflow
/
drawing.c
diff --git
a/ltt/branches/poly/lttv/modules/gui/controlflow/drawing.c
b/ltt/branches/poly/lttv/modules/gui/controlflow/drawing.c
index 4a1c9c94f7064d0867404724c05feae12fa703b0..e074853a4561a9dea36e6bc3d4f1ecc03f1eb274 100644
(file)
--- a/
ltt/branches/poly/lttv/modules/gui/controlflow/drawing.c
+++ b/
ltt/branches/poly/lttv/modules/gui/controlflow/drawing.c
@@
-16,6
+16,10
@@
* MA 02111-1307, USA.
*/
* MA 02111-1307, USA.
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <gtk/gtk.h>
#include <gdk/gdk.h>
#include <string.h>
#include <gtk/gtk.h>
#include <gdk/gdk.h>
#include <string.h>
@@
-210,7
+214,7
@@
void drawing_data_request(Drawing_t *drawing,
associated by id hooks. */
hooks = g_array_new(FALSE, FALSE, sizeof(LttvTraceHook));
associated by id hooks. */
hooks = g_array_new(FALSE, FALSE, sizeof(LttvTraceHook));
- g_array_set_size(hooks, 10);
+
hooks =
g_array_set_size(hooks, 10);
/* before hooks */
/* before hooks */
@@
-927,7
+931,7
@@
void drawing_destroy(Drawing_t *drawing)
gdk_gc_unref(drawing->gc);
g_free(drawing->pango_layout);
gdk_gc_unref(drawing->gc);
g_free(drawing->pango_layout);
- if(
!drawing->dotted_gc
) gdk_gc_unref(drawing->dotted_gc);
+ if(
drawing->dotted_gc != NULL
) gdk_gc_unref(drawing->dotted_gc);
g_free(drawing);
g_info("drawing_destroy end");
}
g_free(drawing);
g_info("drawing_destroy end");
}
This page took
0.02358 seconds
and
4
git commands to generate.