Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
P
proview
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Esteban Blanc
proview
Commits
e4774d79
Commit
e4774d79
authored
May 28, 2009
by
Claes Sjofors
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Some items detected by valgrind
parent
9bfa2661
Changes
8
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
11 additions
and
9 deletions
+11
-9
xtt/exe/rt_xtt/gtk/rt_xtt_gtk.cpp
xtt/exe/rt_xtt/gtk/rt_xtt_gtk.cpp
+1
-0
xtt/lib/flow/src/flow_ctx.cpp
xtt/lib/flow/src/flow_ctx.cpp
+1
-1
xtt/lib/flow/src/flow_node.cpp
xtt/lib/flow/src/flow_node.cpp
+1
-1
xtt/lib/flow/src/flow_tiptext.h
xtt/lib/flow/src/flow_tiptext.h
+2
-2
xtt/lib/glow/src/glow_node.cpp
xtt/lib/glow/src/glow_node.cpp
+1
-1
xtt/lib/glow/src/glow_tiptext.h
xtt/lib/glow/src/glow_tiptext.h
+2
-1
xtt/lib/xtt/gtk/xtt_xnav_gtk.cpp
xtt/lib/xtt/gtk/xtt_xnav_gtk.cpp
+2
-0
xtt/lib/xtt/src/xtt_item.cpp
xtt/lib/xtt/src/xtt_item.cpp
+1
-3
No files found.
xtt/exe/rt_xtt/gtk/rt_xtt_gtk.cpp
View file @
e4774d79
...
...
@@ -560,6 +560,7 @@ XttGtk::~XttGtk()
delete
value_recall
;
delete
hotkey
;
delete
methodtoolbar
;
delete
xnav
;
}
static
gint
delete_event
(
GtkWidget
*
w
,
GdkEvent
*
event
,
gpointer
xtt
)
...
...
xtt/lib/flow/src/flow_ctx.cpp
View file @
e4774d79
...
...
@@ -790,7 +790,7 @@ void FlowCtx::find_grid( double x, double y, double *x_grid, double *y_grid)
int
FlowCtx
::
event_handler
(
flow_eEvent
event
,
int
x
,
int
y
,
int
w
,
int
h
)
{
int
sts
;
int
sts
=
0
;
int
i
;
FlowCtx
*
ctx
;
int
node_move_event
=
0
;
...
...
xtt/lib/flow/src/flow_node.cpp
View file @
e4774d79
...
...
@@ -342,7 +342,7 @@ void FlowNode::open( ifstream& fp)
{
if
((
c
=
fp
.
get
())
==
'"'
)
{
if
(
annotv
[
i
][
j
-
1
]
==
'\\'
)
if
(
j
>
0
&&
annotv
[
i
][
j
-
1
]
==
'\\'
)
j
--
;
else
{
...
...
xtt/lib/flow/src/flow_tiptext.h
View file @
e4774d79
...
...
@@ -50,8 +50,8 @@ class FlowTipText {
/*!
\param gctx Flow context.
*/
FlowTipText
(
FlowCtx
*
gctx
)
:
ctx
(
gctx
),
t
iptext_rows
(
0
),
active
(
false
),
timer_id
(
0
),
text_size
(
2
)
{}
FlowTipText
(
FlowCtx
*
gctx
)
:
ctx
(
gctx
),
t
ext_object
(
0
),
tiptext_rows
(
0
),
active
(
false
),
timer_id
(
0
),
text_size
(
2
)
{}
//! Destructor
/*! Removes the timer if it is set.
...
...
xtt/lib/glow/src/glow_node.cpp
View file @
e4774d79
...
...
@@ -249,7 +249,7 @@ void GlowNode::open( ifstream& fp)
{
if
((
c
=
fp
.
get
())
==
'"'
)
{
if
(
annotv
[
i
][
j
-
1
]
==
'\\'
)
if
(
j
>
0
&&
annotv
[
i
][
j
-
1
]
==
'\\'
)
j
--
;
else
{
...
...
xtt/lib/glow/src/glow_tiptext.h
View file @
e4774d79
...
...
@@ -48,7 +48,8 @@ class GlowTipText {
/*!
\param gctx Glow context.
*/
GlowTipText
(
GrowCtx
*
gctx
)
:
ctx
(
gctx
),
active
(
false
),
timer_id
(
0
),
text_size
(
2
)
{}
GlowTipText
(
GrowCtx
*
gctx
)
:
ctx
(
gctx
),
text_object
(
0
),
active
(
false
),
timer_id
(
0
),
text_size
(
2
)
{}
//! Destructor
/*! Removes the timer if it is set.
...
...
xtt/lib/xtt/gtk/xtt_xnav_gtk.cpp
View file @
e4774d79
...
...
@@ -121,6 +121,8 @@ XNavGtk::~XNavGtk()
mcp
=
0
;
}
menu_tree_free
();
delete
(
ItemMenu
*
)
root_item
;
for
(
int
i
=
0
;
i
<
brow_cnt
;
i
++
)
{
brow_stack
[
i
]
->
free_pixmaps
();
brow_DeleteSecondaryCtx
(
brow_stack
[
i
]
->
ctx
);
...
...
xtt/lib/xtt/src/xtt_item.cpp
View file @
e4774d79
...
...
@@ -1569,14 +1569,12 @@ ItemMenu::ItemMenu( XNavBrow *brow, const char *item_name,
int
ItemMenu
::
open_children
(
XNavBrow
*
brow
,
double
x
,
double
y
)
{
int
action_open
;
int
action_open
=
0
;
if
(
!
is_root
)
{
if
(
!
brow_IsOpen
(
node
))
action_open
=
1
;
else
action_open
=
0
;
}
if
(
action_open
||
is_root
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment