Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Z
zmap
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Iterations
Wiki
Requirements
Jira
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
ensembl-gh-mirror
zmap
Commits
cf0eacdf
Commit
cf0eacdf
authored
21 years ago
by
edgrif
Browse files
Options
Downloads
Patches
Plain Diff
Add call to reset a zmap.
parent
0a3b44fa
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/zmapManager/zmapManager.c
+3
-12
3 additions, 12 deletions
src/zmapManager/zmapManager.c
with
3 additions
and
12 deletions
src/zmapManager/zmapManager.c
+
3
−
12
View file @
cf0eacdf
...
@@ -25,9 +25,9 @@
...
@@ -25,9 +25,9 @@
* Description:
* Description:
* Exported functions: See zmapManager.h
* Exported functions: See zmapManager.h
* HISTORY:
* HISTORY:
* Last edited: Mar
1 1
7:58
2004 (edgrif)
* Last edited: Mar
1
1 1
5:29
2004 (edgrif)
* Created: Thu Jul 24 16:06:44 2003 (edgrif)
* Created: Thu Jul 24 16:06:44 2003 (edgrif)
* CVS info: $Id: zmapManager.c,v 1.
4
2004-03-
03 12:18:38
edgrif Exp $
* CVS info: $Id: zmapManager.c,v 1.
5
2004-03-
12 15:55:07
edgrif Exp $
*-------------------------------------------------------------------
*-------------------------------------------------------------------
*/
*/
...
@@ -63,14 +63,8 @@ gboolean zMapManagerAdd(ZMapManager zmaps, char *sequence, ZMap *zmap_out)
...
@@ -63,14 +63,8 @@ gboolean zMapManagerAdd(ZMapManager zmaps, char *sequence, ZMap *zmap_out)
gboolean
result
=
FALSE
;
gboolean
result
=
FALSE
;
ZMap
zmap
=
NULL
;
ZMap
zmap
=
NULL
;
#ifdef ED_G_NEVER_INCLUDE_THIS_CODE
if
((
zmap
=
zMapCreate
((
void
*
)
zmaps
,
managerCB
,
zmaps
->
config
))
&&
zMapConnect
(
zmap
,
sequence
))
#endif
/* ED_G_NEVER_INCLUDE_THIS_CODE */
if
((
zmap
=
zMapCreate
(
sequence
,
(
void
*
)
zmaps
,
managerCB
,
zmaps
->
config
))
if
((
zmap
=
zMapCreate
(
sequence
,
(
void
*
)
zmaps
,
managerCB
,
zmaps
->
config
))
&&
zMapConnect
(
zmap
))
&&
zMapConnect
(
zmap
))
{
{
zmaps
->
zmap_list
=
g_list_append
(
zmaps
->
zmap_list
,
zmap
)
;
zmaps
->
zmap_list
=
g_list_append
(
zmaps
->
zmap_list
,
zmap
)
;
*
zmap_out
=
zmap
;
*
zmap_out
=
zmap
;
...
@@ -108,10 +102,7 @@ gboolean zMapManagerReset(ZMap zmap)
...
@@ -108,10 +102,7 @@ gboolean zMapManagerReset(ZMap zmap)
{
{
gboolean
result
=
TRUE
;
gboolean
result
=
TRUE
;
/* We need a new windows call to reset the window and blank it. */
result
=
zMapReset
(
zmap
)
;
/* We need to destroy the existing thread connection and start a new one...watch out,
* remember the destroy will be asynchronous..... */
return
result
;
return
result
;
}
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment