Fix warning
authorBehdad Esfahbod <behdad@behdad.org>
Wed, 29 Aug 2012 20:58:52 +0000 (16:58 -0400)
committerBehdad Esfahbod <behdad@behdad.org>
Wed, 29 Aug 2012 20:58:52 +0000 (16:58 -0400)
pango/pango-attributes.c

index 778a282..4f9b1d5 100644 (file)
@@ -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)
     {