summaryrefslogtreecommitdiff
path: root/math/gnumeric/patches/patch-ae
blob: 9bed82d211a1fe8f7b61b231147b669b5f362bb0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
$NetBSD: patch-ae,v 1.7 2007/11/23 13:48:20 rillig Exp $

--- src/style.c.orig	2006-03-15 14:55:15.000000000 +0100
+++ src/style.c	2007-11-23 14:25:49.371371000 +0100
@@ -216,7 +216,8 @@ style_font_new_simple (PangoContext *con
 		font->ref_count++;
 
 #ifdef DEBUG_REF_COUNT
-	g_message (__FUNCTION__ " font=%p name=%s%s%s ref_count=%d\n",
+	g_message ("%s font=%p name=%s%s%s ref_count=%d\n",
+		 G_STRFUNC,
 		 font, font->font_name,
 		 font->is_bold ? " bold" : "",
 		 font->is_italic ? " italic" : "",
@@ -274,7 +275,8 @@ style_font_ref (GnmFont *sf)
 
 	sf->ref_count++;
 #ifdef DEBUG_REF_COUNT
-	g_message (__FUNCTION__ " font=%p name=%s%s%s ref_count=%d\n",
+	g_message ("%s font=%p name=%s%s%s ref_count=%d\n",
+		 G_STRFUNC,
 		 sf, sf->font_name,
 		 sf->is_bold ? " bold" : "",
 		 sf->is_italic ? " italic" : "",
@@ -290,7 +292,8 @@ style_font_unref (GnmFont *sf)
 
 	sf->ref_count--;
 #ifdef DEBUG_REF_COUNT
-	g_message (__FUNCTION__ " font=%p name=%s%s%s ref_count=%d\n",
+	g_message ("%s font=%p name=%s%s%s ref_count=%d\n",
+		 G_STRFUNC,
 		 sf, sf->font_name,
 		 sf->is_bold ? " bold" : "",
 		 sf->is_italic ? " italic" : "",