projects
/
platform
/
upstream
/
pango.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
71d8656
)
Fix warning
author
Behdad Esfahbod
<behdad@behdad.org>
Wed, 29 Aug 2012 20:58:52 +0000
(16:58 -0400)
committer
Behdad Esfahbod
<behdad@behdad.org>
Wed, 29 Aug 2012 20:58:52 +0000
(16:58 -0400)
pango/pango-attributes.c
patch
|
blob
|
history
diff --git
a/pango/pango-attributes.c
b/pango/pango-attributes.c
index
778a282
..
4f9b1d5
100644
(file)
--- a/
pango/pango-attributes.c
+++ b/
pango/pango-attributes.c
@@
-70,10
+70,11
@@
PangoAttrType
pango_attr_type_register (const gchar *name)
{
static guint current_type = 0x1000000; /* MT-safe */
+ guint type;
G_LOCK (attr_type);
-
guint
type = current_type++;
+ type = current_type++;
if (name)
{