aboutsummaryrefslogtreecommitdiffstats
path: root/shell
diff options
context:
space:
mode:
Diffstat (limited to 'shell')
-rw-r--r--shell/ChangeLog5
-rw-r--r--shell/e-component-registry.c2
-rw-r--r--shell/e-shell-importer.c4
3 files changed, 8 insertions, 3 deletions
diff --git a/shell/ChangeLog b/shell/ChangeLog
index 4b10059506..52dce6694e 100644
--- a/shell/ChangeLog
+++ b/shell/ChangeLog
@@ -1,3 +1,8 @@
+2008-01-29 Matthew Barnes <mbarnes@redhat.com>
+
+ * e-component-registry.c:
+ Replace G_GNUC_FUNCTION (deprecated) with G_STRFUNC.
+
2008-01-22 Jan Tichavsky <Jan.Tichavsky@gmail.com>
** Fix for bug #511232
diff --git a/shell/e-component-registry.c b/shell/e-component-registry.c
index 9d953b4997..eb11adb081 100644
--- a/shell/e-component-registry.c
+++ b/shell/e-component-registry.c
@@ -343,7 +343,7 @@ e_component_registry_activate (EComponentRegistry *registry,
info = e_component_registry_peek_info (registry, ECR_FIELD_ID, id);
if (info == NULL) {
- g_warning (G_GNUC_FUNCTION " - Unknown id \"%s\"", id);
+ g_warning (G_STRFUNC " - Unknown id \"%s\"", id);
return CORBA_OBJECT_NIL;
}
diff --git a/shell/e-shell-importer.c b/shell/e-shell-importer.c
index 23223614ec..48c480227b 100644
--- a/shell/e-shell-importer.c
+++ b/shell/e-shell-importer.c
@@ -120,8 +120,8 @@ typedef struct _ImportData {
/*#define IMPORTER_DEBUG*/
#ifdef IMPORTER_DEBUG
-#define IN g_print ("=====> %s (%d)\n", G_GNUC_FUNCTION, __LINE__)
-#define OUT g_print ("<==== %s (%d)\n", G_GNUC_FUNCTION, __LINE__)
+#define IN g_print ("=====> %s (%d)\n", G_STRFUNC, __LINE__)
+#define OUT g_print ("<==== %s (%d)\n", G_STRFUNC, __LINE__)
#else
#define IN
#define OUT