Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Dorota Czaplejewicz
gtk
Commits
c88e3bfc
Commit
c88e3bfc
authored
Oct 26, 2010
by
Carlos Garnacho
Browse files
GtkStyleSet: Prevent from possible underflow.
parent
51b74204
Changes
1
Hide whitespace changes
Inline
Side-by-side
gtk/gtkstyleset.c
View file @
c88e3bfc
...
...
@@ -309,7 +309,12 @@ compare_property (gconstpointer p1,
PropertyNode
*
key
=
(
PropertyNode
*
)
p1
;
PropertyNode
*
node
=
(
PropertyNode
*
)
p2
;
return
(
int
)
key
->
property_quark
-
node
->
property_quark
;
if
(
key
->
property_quark
>
node
->
property_quark
)
return
1
;
else
if
(
key
->
property_quark
<
node
->
property_quark
)
return
-
1
;
return
0
;
}
static
PropertyNode
*
...
...
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