summaryrefslogtreecommitdiff
path: root/pango/pango-ot-ruleset.c
diff options
context:
space:
mode:
authorBehdad Esfahbod <behdad@gnome.org>2007-10-15 17:48:20 +0000
committerBehdad Esfahbod <behdad@src.gnome.org>2007-10-15 17:48:20 +0000
commit2d66e2fe68468ca3a5033b715f4daff237b9dfd3 (patch)
treeca2c1a5ca0e84299aa1dc62c2bd570d7be5abf1d /pango/pango-ot-ruleset.c
parent840d74b4712b8b77035cd8abbf72b3f6fe2e2c8c (diff)
downloadpango-2d66e2fe68468ca3a5033b715f4daff237b9dfd3.tar.gz
Bug 481537 – compiler warning fixes Patch from Kjartan Maraas
2007-10-15 Behdad Esfahbod <behdad@gnome.org> Bug 481537 – compiler warning fixes Patch from Kjartan Maraas * pango/break.c (pango_get_log_attrs): * pango/pango-attributes.c (pango_attr_list_insert_internal): * pango/pango-layout.c (process_item), (justify_clusters): * pango/pango-markup.c (span_parse_boolean): * pango/pango-ot-ruleset.c (pango_ot_ruleset_finalize), (pango_ot_ruleset_new): * pango/pango-utils.c (pango_scan_int): * pango/pangocairo-font.c (_pango_cairo_font_install): * pango/pangofc-font.c (pango_fc_font_create_metrics_for_context): * pango/pangoft2.c (load_fallback_face): * pango/pangox-fontmap.c (pango_x_get_coverage_win): * pango/pangox.c (itemize_string_foreach): Fix warnings. svn path=/trunk/; revision=2444
Diffstat (limited to 'pango/pango-ot-ruleset.c')
-rw-r--r--pango/pango-ot-ruleset.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/pango/pango-ot-ruleset.c b/pango/pango-ot-ruleset.c
index f484c4e0..ddd92c3f 100644
--- a/pango/pango-ot-ruleset.c
+++ b/pango/pango-ot-ruleset.c
@@ -93,7 +93,7 @@ pango_ot_ruleset_finalize (GObject *object)
g_array_free (ruleset->rules, TRUE);
if (ruleset->info)
- g_object_remove_weak_pointer (ruleset->info, &ruleset->info);
+ g_object_remove_weak_pointer (G_OBJECT (ruleset->info), &ruleset->info);
parent_class->finalize (object);
}
@@ -175,7 +175,7 @@ pango_ot_ruleset_new (PangoOTInfo *info)
ruleset = g_object_new (PANGO_TYPE_OT_RULESET, NULL);
ruleset->info = info;
- g_object_add_weak_pointer (ruleset->info, &ruleset->info);
+ g_object_add_weak_pointer (G_OBJECT (ruleset->info), &ruleset->info);
return ruleset;
}