Merge pull request #164 from fukuchi/14b1a3ac42bf74c0bdf5c283c033b4db4767c234

Bug fixes of Ruby/Pango sample codes.

Patch by Kentaro Fukuchi. Thanks!!!
pango: use "-*- coding -*-" style

Becaue Emacs can also recognize the style.
pango: use "-*- coding -*-" style

Becaue Emacs can also recognize the style.
pango: use "first" instead of "to_a[0]"

Because we don't need all values.
pango: fix wrong index access of Pango::GlyphString#glyphs

[ruby-gnome2-devel-ja]

Reported by Kentaro Fukuchi. Thanks!!!
pango: use "codepoints" to get codepoint

Because Ruby 1.9 or later String#[] returns a character not a
codepoint.
pango: use "-*- coding -*-" style

Becaue Emacs can also recognize the style.
pango: use "-*- coding -*-" style

Becaue Emacs can also recognize the style.
pango: use "first" instead of "to_a[0]"

Because we don't need all values.
pango: fix wrong index access of Pango::GlyphString#glyphs

[ruby-gnome2-devel-ja]

Reported by Kentaro Fukuchi. Thanks!!!
pango: use "codepoints" to get codepoint

Because Ruby 1.9 or later String#[] returns a character not a
codepoint.
Merge remote-tracking branch 'upstream/master'