pango r2676 - trunk/pango
- From: behdad svn gnome org
- To: svn-commits-list gnome org
- Subject: pango r2676 - trunk/pango
- Date: Wed, 6 Aug 2008 08:39:13 +0000 (UTC)
Author: behdad
Date: Wed Aug 6 08:39:13 2008
New Revision: 2676
URL: http://svn.gnome.org/viewvc/pango?rev=2676&view=rev
Log:
Fix compiler warning.
Modified:
trunk/pango/pango-ot-ruleset.c
Modified: trunk/pango/pango-ot-ruleset.c
==============================================================================
--- trunk/pango/pango-ot-ruleset.c (original)
+++ trunk/pango/pango-ot-ruleset.c Wed Aug 6 08:39:13 2008
@@ -93,7 +93,7 @@
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 @@
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;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]