pango r2716 - in trunk: . pango
- From: tml svn gnome org
- To: svn-commits-list gnome org
- Subject: pango r2716 - in trunk: . pango
- Date: Mon, 8 Sep 2008 20:19:49 +0000 (UTC)
Author: tml
Date: Mon Sep 8 20:19:49 2008
New Revision: 2716
URL: http://svn.gnome.org/viewvc/pango?rev=2716&view=rev
Log:
2008-09-08 Tor Lillqvist <tml novell com>
Bug 551416 - pangowin32-fontcache.c: argument is different type
* pango/pangowin32-fontcache.c: Pass address of int to
g_atomic_int_inc().
Modified:
trunk/ChangeLog
trunk/pango/pangowin32-fontcache.c
Modified: trunk/pango/pangowin32-fontcache.c
==============================================================================
--- trunk/pango/pangowin32-fontcache.c (original)
+++ trunk/pango/pangowin32-fontcache.c Mon Sep 8 20:19:49 2008
@@ -232,7 +232,7 @@
if (entry)
{
- g_atomic_int_inc (entry->ref_count);
+ g_atomic_int_inc (&entry->ref_count);
PING (("increased refcount for cache entry %p: %d", entry->hfont, entry->ref_count));
}
else
@@ -383,7 +383,7 @@
}
else
{
- g_atomic_int_inc (entry->ref_count);
+ g_atomic_int_inc (&entry->ref_count);
/* Insert into the mru list */
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]