From e60b2a82ff85ce1462901cd9175e49487c8ee2d5 Mon Sep 17 00:00:00 2001 From: Ettore Perazzoli Date: Thu, 6 Mar 2003 17:23:05 +0000 Subject: Use G_GNUC_FUNCTION instead of __FUNCTION__. Likewise. Likewise. * e-summary-calendar.c (e_summary_calendar_protocol): Use G_GNUC_FUNCTION instead of __FUNCTION__. * e-summary-rdf.c (e_summary_rdf_update): Likewise. * e-summary-tasks.c (e_summary_tasks_protocol): Likewise. (e_summary_tasks_protocol): Likewise. * e-summary-weather.c (e_summary_weather_update): Likewise. svn path=/trunk/; revision=20199 --- my-evolution/ChangeLog | 9 +++++++++ my-evolution/e-summary-calendar.c | 6 +++--- my-evolution/e-summary-rdf.c | 2 +- my-evolution/e-summary-tasks.c | 8 ++++---- my-evolution/e-summary-weather.c | 2 +- 5 files changed, 18 insertions(+), 9 deletions(-) diff --git a/my-evolution/ChangeLog b/my-evolution/ChangeLog index 208729ac31..219336e23d 100644 --- a/my-evolution/ChangeLog +++ b/my-evolution/ChangeLog @@ -1,3 +1,12 @@ +2003-03-06 Ettore Perazzoli + + * e-summary-calendar.c (e_summary_calendar_protocol): Use + G_GNUC_FUNCTION instead of __FUNCTION__. + * e-summary-rdf.c (e_summary_rdf_update): Likewise. + * e-summary-tasks.c (e_summary_tasks_protocol): Likewise. + (e_summary_tasks_protocol): Likewise. + * e-summary-weather.c (e_summary_weather_update): Likewise. + 2003-03-05 Ettore Perazzoli * e-summary-weather.c (e_summary_weather_set_online): Likewise, diff --git a/my-evolution/e-summary-calendar.c b/my-evolution/e-summary-calendar.c index 71b62829be..12172e4764 100644 --- a/my-evolution/e-summary-calendar.c +++ b/my-evolution/e-summary-calendar.c @@ -508,8 +508,8 @@ e_summary_calendar_protocol (ESummary *summary, CORBA_exception_init (&ev); factory = bonobo_activation_activate_from_id ("OAFIID:GNOME_Evolution_Calendar_CompEditorFactory", 0, NULL, &ev); if (BONOBO_EX (&ev)) { - g_message ("%s: Could not activate the component editor factory (%s)", __FUNCTION__, - CORBA_exception_id (&ev)); + g_message ("%s: Could not activate the component editor factory (%s)", + G_GNUC_FUNCTION, CORBA_exception_id (&ev)); CORBA_exception_free (&ev); return; } @@ -517,7 +517,7 @@ e_summary_calendar_protocol (ESummary *summary, GNOME_Evolution_Calendar_CompEditorFactory_editExisting (factory, comp_uri, (char *)uri + 10, &ev); if (BONOBO_EX (&ev)) { - g_message ("%s: Execption while editing the component (%s)", __FUNCTION__, + g_message ("%s: Execption while editing the component (%s)", G_GNUC_FUNCTION, CORBA_exception_id (&ev)); } diff --git a/my-evolution/e-summary-rdf.c b/my-evolution/e-summary-rdf.c index 578b559c5e..b7667b2a99 100644 --- a/my-evolution/e-summary-rdf.c +++ b/my-evolution/e-summary-rdf.c @@ -357,7 +357,7 @@ e_summary_rdf_update (ESummary *summary) GList *r; if (summary->rdf->online == FALSE) { - g_warning ("%s: Repolling but offline", __FUNCTION__); + g_warning ("%s: Repolling but offline", G_GNUC_FUNCTION); return TRUE; } diff --git a/my-evolution/e-summary-tasks.c b/my-evolution/e-summary-tasks.c index 3f0ba8ab73..69ba5c74af 100644 --- a/my-evolution/e-summary-tasks.c +++ b/my-evolution/e-summary-tasks.c @@ -455,8 +455,8 @@ e_summary_tasks_protocol (ESummary *summary, CORBA_exception_init (&ev); factory = bonobo_activation_activate_from_id ("OAFIID:GNOME_Evolution_Calendar_CompEditorFactory", 0, NULL, &ev); if (BONOBO_EX (&ev)) { - g_message ("%s: Could not activate the component editor factory (%s)", __FUNCTION__, - CORBA_exception_id (&ev)); + g_message ("%s: Could not activate the component editor factory (%s)", + G_GNUC_FUNCTION, CORBA_exception_id (&ev)); CORBA_exception_free (&ev); return; } @@ -464,8 +464,8 @@ e_summary_tasks_protocol (ESummary *summary, GNOME_Evolution_Calendar_CompEditorFactory_editExisting (factory, comp_uri, (char *)uri + 7, &ev); if (BONOBO_EX (&ev)) { - g_message ("%s: Execption while editing the component (%s)", __FUNCTION__, - CORBA_exception_id (&ev)); + g_message ("%s: Execption while editing the component (%s)", + G_GNUC_FUNCTION, CORBA_exception_id (&ev)); } CORBA_exception_free (&ev); diff --git a/my-evolution/e-summary-weather.c b/my-evolution/e-summary-weather.c index 221c96b7b9..f6071f32f7 100644 --- a/my-evolution/e-summary-weather.c +++ b/my-evolution/e-summary-weather.c @@ -306,7 +306,7 @@ e_summary_weather_update (ESummary *summary) GList *w; if (summary->weather->online == FALSE) { - g_warning ("%s: Repolling but offline", __FUNCTION__); + g_warning ("%s: Repolling but offline", G_GNUC_FUNCTION); return TRUE; } -- cgit v1.2.3