[libegg] Bug 568511 — Solaris Sun Studio compiler doesn't support __FUNCTION__
- From: Philip Withnall <pwithnall src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [libegg] Bug 568511 — Solaris Sun Studio compiler doesn't support __FUNCTION__
- Date: Sat, 12 Sep 2009 15:45:54 +0000 (UTC)
commit 0ce2dd9f914bdbade0a8f00be4ce9d6ec759f074
Author: Philip Withnall <philip tecnocode co uk>
Date: Sat Sep 12 16:44:42 2009 +0100
Bug 568511 â?? Solaris Sun Studio compiler doesn't support __FUNCTION__
Replace uses of __FUNCTION__ with G_STRFUNC in the file format chooser.
Re-closes: bgo#568511
libegg/fileformatchooser/eggfileformatchooser.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/libegg/fileformatchooser/eggfileformatchooser.c b/libegg/fileformatchooser/eggfileformatchooser.c
index 5eeecdb..be9f861 100644
--- a/libegg/fileformatchooser/eggfileformatchooser.c
+++ b/libegg/fileformatchooser/eggfileformatchooser.c
@@ -1146,7 +1146,7 @@ egg_file_format_chooser_append_extension (EggFileFormatChooser *self,
if (0 == format)
{
- g_warning ("%s: No file format selected. Cannot append extension.", __FUNCTION__);
+ g_warning ("%s: No file format selected. Cannot append extension.", G_STRFUNC);
return NULL;
}
@@ -1173,7 +1173,7 @@ egg_file_format_chooser_append_extension (EggFileFormatChooser *self,
if (NULL == extensions)
{
g_warning ("%s: File format %d doesn't provide file extensions. "
- "Cannot append extension.", __FUNCTION__, format);
+ "Cannot append extension.", G_STRFUNC, format);
return NULL;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]