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
28db832a
Commit
28db832a
authored
19 years ago
by
edgrif
Browse files
Options
Downloads
Patches
Plain Diff
bug fix: no need to update GUI if view had not changed !
parent
874f764f
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/zmapView/zmapView.c
+7
-5
7 additions, 5 deletions
src/zmapView/zmapView.c
with
7 additions
and
5 deletions
src/zmapView/zmapView.c
+
7
−
5
View file @
28db832a
...
...
@@ -25,9 +25,9 @@
* Description:
* Exported functions: See ZMap/zmapView.h
* HISTORY:
* Last edited:
Feb 20 18:31
2006 (edgrif)
* Last edited:
Mar 6 10:16
2006 (edgrif)
* Created: Thu May 13 15:28:26 2004 (edgrif)
* CVS info: $Id: zmapView.c,v 1.
69
2006-0
2-21 15:11:14
edgrif Exp $
* CVS info: $Id: zmapView.c,v 1.
70
2006-0
3-06 11:46:41
edgrif Exp $
*-------------------------------------------------------------------
*/
...
...
@@ -1111,6 +1111,7 @@ static gboolean checkStateConnections(ZMapView zmap_view)
{
gboolean
call_again
=
TRUE
;
/* Normally we want to called continuously. */
GList
*
list_item
;
gboolean
state_change
=
TRUE
;
/* Records whehter state of view has changed. */
gboolean
threads_have_died
=
FALSE
;
/* Records if any threads have died. */
...
...
@@ -1165,7 +1166,7 @@ static gboolean checkStateConnections(ZMapView zmap_view)
if
(
reply
==
ZMAPTHREAD_REPLY_WAIT
)
{
;
/* nothing to do. */
state_change
=
FALSE
;
}
else
if
(
reply
==
ZMAPTHREAD_REPLY_GOTDATA
)
{
...
...
@@ -1294,8 +1295,9 @@ static gboolean checkStateConnections(ZMapView zmap_view)
* depending on whether we are dying or threads have died or whatever.... */
if
(
zmap_view
->
connection_list
)
{
/* Signal layer above us because view has probably changed state. */
(
*
(
view_cbs_G
->
state_change
))(
zmap_view
,
zmap_view
->
app_data
,
NULL
)
;
/* Signal layer above us if view has changed state. */
if
(
state_change
)
(
*
(
view_cbs_G
->
state_change
))(
zmap_view
,
zmap_view
->
app_data
,
NULL
)
;
}
else
{
...
...
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