summaryrefslogtreecommitdiff
path: root/pango/pango-context.c
diff options
context:
space:
mode:
authorOwen Taylor <otaylor@redhat.com>2000-05-28 01:23:41 +0000
committerOwen Taylor <otaylor@src.gnome.org>2000-05-28 01:23:41 +0000
commit2c10e7197f33eb1bf6d8771de13b241263dc041b (patch)
treee3b713a250de056d23ff2410bdcccb8ee8df623a /pango/pango-context.c
parent1a23b2c124df6830bc8a8027bd8b38ccc2c75531 (diff)
downloadpango-2c10e7197f33eb1bf6d8771de13b241263dc041b.tar.gz
s/pango_font_set_data/g_object_set_qdata/
Sat May 27 21:06:13 2000 Owen Taylor <otaylor@redhat.com> * modules/thai/thai.c modules/basic/basic: s/pango_font_set_data/g_object_set_qdata/ * pango/*.c: s/pango_font_[un]ref/g_object_un[ref] * pango/pango-font.h fonts.c: GObject'ify PangoFont.
Diffstat (limited to 'pango/pango-context.c')
-rw-r--r--pango/pango-context.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/pango/pango-context.c b/pango/pango-context.c
index 60a54a7d..e34262b1 100644
--- a/pango/pango-context.c
+++ b/pango/pango-context.c
@@ -618,7 +618,7 @@ pango_itemize (PangoContext *context,
result = g_list_prepend (result, item);
}
else
- pango_font_unref (fonts[i]);
+ g_object_unref (G_OBJECT (fonts[i]));
item->length = (next - text) - item->offset;
item->num_chars++;
@@ -662,7 +662,7 @@ get_font (PangoFont **fonts,
}
if (result)
- pango_font_ref (result);
+ g_object_ref (G_OBJECT (result));
return result;
}
@@ -748,7 +748,7 @@ add_engines (PangoContext *context,
{
if (current_fonts[j])
{
- pango_font_unref (current_fonts[j]);
+ g_object_unref (G_OBJECT (current_fonts[j]));
pango_coverage_unref (current_coverages[j]);
}
}
@@ -795,7 +795,7 @@ add_engines (PangoContext *context,
{
if (current_fonts[j])
{
- pango_font_unref (current_fonts[j]);
+ g_object_unref (G_OBJECT (current_fonts[j]));
pango_coverage_unref (current_coverages[j]);
}
}