diff options
author | Owen Taylor <otaylor@redhat.com> | 2000-05-28 01:23:41 +0000 |
---|---|---|
committer | Owen Taylor <otaylor@src.gnome.org> | 2000-05-28 01:23:41 +0000 |
commit | 2c10e7197f33eb1bf6d8771de13b241263dc041b (patch) | |
tree | e3b713a250de056d23ff2410bdcccb8ee8df623a /pango/pango-item.c | |
parent | 1a23b2c124df6830bc8a8027bd8b38ccc2c75531 (diff) | |
download | pango-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-item.c')
-rw-r--r-- | pango/pango-item.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pango/pango-item.c b/pango/pango-item.c index 826552f8..d3e0dbd9 100644 --- a/pango/pango-item.c +++ b/pango/pango-item.c @@ -66,7 +66,7 @@ pango_item_copy (PangoItem *item) result->extra_attrs = g_slist_reverse (extra_attrs); result->analysis = item->analysis; - pango_font_ref (result->analysis.font); + g_object_ref (G_OBJECT (result->analysis.font)); return result; } @@ -83,7 +83,7 @@ pango_item_free (PangoItem *item) if (item->extra_attrs) g_slist_foreach (item->extra_attrs, (GFunc)pango_attribute_destroy, NULL); - pango_font_unref (item->analysis.font); + g_object_unref (G_OBJECT (item->analysis.font)); g_free (item); } |