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
7d17252c
Commit
7d17252c
authored
14 years ago
by
edgrif
Browse files
Options
Downloads
Patches
Plain Diff
correct missing casts, comment out unused function.
parent
28eb61b7
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/zmapWindow/zmapWindowFeature.c
+12
-5
12 additions, 5 deletions
src/zmapWindow/zmapWindowFeature.c
with
12 additions
and
5 deletions
src/zmapWindow/zmapWindowFeature.c
+
12
−
5
View file @
7d17252c
...
@@ -28,9 +28,9 @@
...
@@ -28,9 +28,9 @@
*
*
* Exported functions: See zmapWindow_P.h
* Exported functions: See zmapWindow_P.h
* HISTORY:
* HISTORY:
* Last edited: Apr
29
11:
39
2010 (edgrif)
* Last edited: Apr
30
11:
10
2010 (edgrif)
* Created: Mon Jan 9 10:25:40 2006 (edgrif)
* Created: Mon Jan 9 10:25:40 2006 (edgrif)
* CVS info: $Id: zmapWindowFeature.c,v 1.18
1
2010-04-30
08:51:37
edgrif Exp $
* CVS info: $Id: zmapWindowFeature.c,v 1.18
2
2010-04-30
10:11:05
edgrif Exp $
*-------------------------------------------------------------------
*-------------------------------------------------------------------
*/
*/
...
@@ -151,10 +151,14 @@ static void pfetchEntry(ZMapWindow window, char *sequence_name) ;
...
@@ -151,10 +151,14 @@ static void pfetchEntry(ZMapWindow window, char *sequence_name) ;
static
void
handle_dialog_close
(
GtkWidget
*
dialog
,
gpointer
user_data
);
static
void
handle_dialog_close
(
GtkWidget
*
dialog
,
gpointer
user_data
);
#ifdef ED_G_NEVER_INCLUDE_THIS_CODE
static
ZMapFeatureContextExecuteStatus
oneBlockHasDNA
(
GQuark
key
,
static
ZMapFeatureContextExecuteStatus
oneBlockHasDNA
(
GQuark
key
,
gpointer
data
,
gpointer
data
,
gpointer
user_data
,
gpointer
user_data
,
char
**
error_out
);
char
**
error_out
);
#endif
/* ED_G_NEVER_INCLUDE_THIS_CODE */
static
gboolean
factoryTopItemCreated
(
FooCanvasItem
*
top_item
,
static
gboolean
factoryTopItemCreated
(
FooCanvasItem
*
top_item
,
ZMapFeatureContext
context
,
ZMapFeatureContext
context
,
...
@@ -612,7 +616,6 @@ char *zmapWindowFeatureDescription(ZMapFeature feature)
...
@@ -612,7 +616,6 @@ char *zmapWindowFeatureDescription(ZMapFeature feature)
gboolean
zMapWindowGetDNAStatus
(
ZMapWindow
window
)
gboolean
zMapWindowGetDNAStatus
(
ZMapWindow
window
)
{
{
gboolean
drawable
=
FALSE
;
gboolean
drawable
=
FALSE
;
BlockHasDNAStruct
dna
=
{
0
};
/* We just need one of the blocks to have DNA.
/* We just need one of the blocks to have DNA.
* This enables us to turn on this button as we
* This enables us to turn on this button as we
...
@@ -623,8 +626,8 @@ gboolean zMapWindowGetDNAStatus(ZMapWindow window)
...
@@ -623,8 +626,8 @@ gboolean zMapWindowGetDNAStatus(ZMapWindow window)
/* check for style too. */
/* check for style too. */
/* sometimes we don't have a featrue_context ... ODD! */
/* sometimes we don't have a featrue_context ... ODD! */
if
(
window
->
feature_context
&&
if
(
window
->
feature_context
zMapFindStyle
(
window
->
read_only_styles
,
zMapStyleCreateID
(
ZMAP_FIXED_STYLE_DNA_NAME
)))
&&
zMapFindStyle
(
window
->
read_only_styles
,
zMapStyleCreateID
(
ZMAP_FIXED_STYLE_DNA_NAME
)))
{
{
drawable
=
zMapFeatureContextGetDNAStatus
(
window
->
feature_context
);
drawable
=
zMapFeatureContextGetDNAStatus
(
window
->
feature_context
);
}
}
...
@@ -1529,6 +1532,8 @@ static void removeLongItemCB(gpointer data, gpointer user_data)
...
@@ -1529,6 +1532,8 @@ static void removeLongItemCB(gpointer data, gpointer user_data)
#endif
/* ED_G_NEVER_INCLUDE_THIS_CODE */
#endif
/* ED_G_NEVER_INCLUDE_THIS_CODE */
#ifdef ED_G_NEVER_INCLUDE_THIS_CODE
/* Function to check whether any of the blocks has dna */
/* Function to check whether any of the blocks has dna */
static
ZMapFeatureContextExecuteStatus
oneBlockHasDNA
(
GQuark
key
,
static
ZMapFeatureContextExecuteStatus
oneBlockHasDNA
(
GQuark
key
,
gpointer
data
,
gpointer
data
,
...
@@ -1564,6 +1569,8 @@ static ZMapFeatureContextExecuteStatus oneBlockHasDNA(GQuark key,
...
@@ -1564,6 +1569,8 @@ static ZMapFeatureContextExecuteStatus oneBlockHasDNA(GQuark key,
return
ZMAP_CONTEXT_EXEC_STATUS_OK
;
return
ZMAP_CONTEXT_EXEC_STATUS_OK
;
}
}
#endif
/* ED_G_NEVER_INCLUDE_THIS_CODE */
...
...
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