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
cc7d6b6a
Commit
cc7d6b6a
authored
21 years ago
by
edgrif
Browse files
Options
Downloads
Patches
Plain Diff
change zmapexit call to zmapappexit + use zmapManagerCreate/Destroy calls.
parent
7fa3cdf3
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/zmapApp/zmapAppwindow.c
+11
-5
11 additions, 5 deletions
src/zmapApp/zmapAppwindow.c
with
11 additions
and
5 deletions
src/zmapApp/zmapAppwindow.c
+
11
−
5
View file @
cc7d6b6a
...
...
@@ -26,9 +26,9 @@
* Description:
* Exported functions: See XXXXXXXXXXXXX.h
* HISTORY:
* Last edited:
Jan
2
2
1
5:16
2004 (edgrif)
* Last edited:
Feb
2
6
1
4:40
2004 (edgrif)
* Created: Thu Jul 24 14:36:27 2003 (edgrif)
* CVS info: $Id: zmapAppwindow.c,v 1.
4
2004-0
1-23 13:28:01
edgrif Exp $
* CVS info: $Id: zmapAppwindow.c,v 1.
5
2004-0
3-03 12:11:44
edgrif Exp $
*-------------------------------------------------------------------
*/
...
...
@@ -61,7 +61,11 @@ int zmapMainMakeAppWindow(int argc, char *argv[])
initGnomeGTK
(
argc
,
argv
)
;
/* May exit if checks fail. */
#ifdef ED_G_NEVER_INCLUDE_THIS_CODE
TEST_GLOBAL
=
atoi
(
argv
[
1
])
;
#endif
/* ED_G_NEVER_INCLUDE_THIS_CODE */
...
...
@@ -100,7 +104,7 @@ int zmapMainMakeAppWindow(int argc, char *argv[])
}
void
zmapExit
(
ZMapAppContext
app_context
)
void
zmap
App
Exit
(
ZMapAppContext
app_context
)
{
printf
(
"
\n
Goodbye cruel world !
\n
"
)
;
...
...
@@ -162,7 +166,7 @@ static ZMapAppContext createAppContext(void)
app_context
->
app_widg
=
app_context
->
sequence_widg
=
app_context
->
clist_widg
=
NULL
;
app_context
->
zmap_manager
=
zMapManager
Init
(
removeZmapRow
,
(
void
*
)
app_context
)
;
app_context
->
zmap_manager
=
zMapManager
Create
(
removeZmapRow
,
(
void
*
)
app_context
)
;
app_context
->
selected_zmap
=
NULL
;
return
app_context
;
...
...
@@ -173,7 +177,9 @@ static void quitCB(GtkWidget *widget, gpointer cb_data)
{
ZMapAppContext
app_context
=
(
ZMapAppContext
)
cb_data
;
zmapExit
(
app_context
)
;
/* Does not return. */
zMapManagerDestroy
(
app_context
->
zmap_manager
)
;
zmapAppExit
(
app_context
)
;
/* Does not return. */
return
;
}
...
...
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