diff options
author | Behdad Esfahbod <behdad@src.gnome.org> | 2008-08-06 08:39:13 +0000 |
---|---|---|
committer | Behdad Esfahbod <behdad@src.gnome.org> | 2008-08-06 08:39:13 +0000 |
commit | ad40f1de0ff786018375688757dc081c583833d4 (patch) | |
tree | 2b7791d7c151d91124050c49bc0d140a762160a3 /pango/pango-ot-ruleset.c | |
parent | 6a84b56502ed11b4d52d7be387be4ce26c7e4c61 (diff) | |
download | pango-ad40f1de0ff786018375688757dc081c583833d4.tar.gz |
Fix compiler warning.
svn path=/trunk/; revision=2676
Diffstat (limited to 'pango/pango-ot-ruleset.c')
-rw-r--r-- | pango/pango-ot-ruleset.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pango/pango-ot-ruleset.c b/pango/pango-ot-ruleset.c index 53f9fae3..5be304fa 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 (G_OBJECT (ruleset->info), &ruleset->info); + g_object_remove_weak_pointer (G_OBJECT (ruleset->info), (gpointer *) &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 (G_OBJECT (ruleset->info), &ruleset->info); + g_object_add_weak_pointer (G_OBJECT (ruleset->info), (gpointer *) &ruleset->info); return ruleset; } |