Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
Oblomov
gtk
Commits
2e8d1aaa
Commit
2e8d1aaa
authored
Sep 21, 1998
by
Manish Singh
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Shut up gcc AND cvs
-Yosh
parent
f6db9670
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
8 deletions
+7
-8
gtk/.cvsignore
gtk/.cvsignore
+1
-0
gtk/gtkcolorsel.c
gtk/gtkcolorsel.c
+6
-8
No files found.
gtk/.cvsignore
View file @
2e8d1aaa
...
...
@@ -20,3 +20,4 @@ gtkmarshal.c
gtktypebuiltins_ids.c
gtktypebuiltins_vars.c
gtktypebuiltins_evals.c
gtk.defs
gtk/gtkcolorsel.c
View file @
2e8d1aaa
...
...
@@ -1293,13 +1293,11 @@ gtk_color_selection_eval_wheel (gint x, gint y,
gdouble
cx
,
gdouble
cy
,
gdouble
*
h
,
gdouble
*
s
)
{
gdouble
d
,
r
,
rx
,
ry
,
l
;
gdouble
r
,
rx
,
ry
;
rx
=
((
gdouble
)
x
-
cx
);
ry
=
((
gdouble
)
y
-
cy
);
d
=
(
SQR
(
cy
)
*
SQR
(
rx
)
+
SQR
(
cx
)
*
SQR
(
ry
)
-
SQR
(
cx
)
*
SQR
(
cy
));
rx
=
rx
/
cx
;
ry
=
ry
/
cy
;
...
...
@@ -1316,11 +1314,11 @@ gtk_color_selection_eval_wheel (gint x, gint y,
if
(
*
s
==
0
.
0
)
*
s
=
0
.
00001
;
else
if
(
*
s
>
1
.
0
)
{
*
s
=
1
.
0
;
return
1
;
}
return
0
;
{
*
s
=
1
.
0
;
return
TRUE
;
}
return
FALSE
;
}
static
void
...
...
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