diff options
author | Behdad Esfahbod <behdad@gnome.org> | 2007-10-24 06:34:39 +0000 |
---|---|---|
committer | Behdad Esfahbod <behdad@src.gnome.org> | 2007-10-24 06:34:39 +0000 |
commit | fb097dd671439d53dfc26f73f70c7aa8c8918304 (patch) | |
tree | 761464fc76c66fed4b3335062880387841162f2f /pango/pango-attributes.c | |
parent | 4c0ae27426d686e6bd9365b4d0f02d444e6cf667 (diff) | |
download | pango-fb097dd671439d53dfc26f73f70c7aa8c8918304.tar.gz |
Fix couple Oopses from my last commit.
2007-10-24 Behdad Esfahbod <behdad@gnome.org>
* pango/pango-attributes.c: Fix couple Oopses from my last
commit.
svn path=/trunk/; revision=2459
Diffstat (limited to 'pango/pango-attributes.c')
-rw-r--r-- | pango/pango-attributes.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pango/pango-attributes.c b/pango/pango-attributes.c index 0c98539d..0d398d52 100644 --- a/pango/pango-attributes.c +++ b/pango/pango-attributes.c @@ -298,7 +298,7 @@ pango_attr_color_new (const PangoAttrClass *klass, guint16 blue) { PangoAttrColor *result = g_slice_new (PangoAttrColor); - pango_attribute_init (&result->attr, &klass); + pango_attribute_init (&result->attr, klass); result->color.red = red; result->color.green = green; result->color.blue = blue; @@ -389,7 +389,7 @@ pango_attr_int_new (const PangoAttrClass *klass, int value) { PangoAttrInt *result = g_slice_new (PangoAttrInt); - pango_attribute_init (&result->attr, &klass); + pango_attribute_init (&result->attr, klass); result->value = value; return (PangoAttribute *)result; |