Use G_STRFUNC correctly

It cannot be chained up via the pre-processor.
This commit is contained in:
Emmanuele Bassi 2010-12-09 15:42:19 +00:00
parent 24133ddadc
commit 36c3fc82c5
2 changed files with 2 additions and 2 deletions

View File

@ -920,7 +920,7 @@ clutter_egl_get_egl_display (void)
{
if (backend_singleton == NULL)
{
g_critical (G_STRFUNC " has been called before clutter_init()");
g_critical ("%s has been called before clutter_init()", G_STRFUNC);
return 0;
}

View File

@ -284,7 +284,7 @@ clutter_fruity_get_egl_display (void)
{
if (backend_singleton == NULL)
{
g_critical (G_STRFUNC " has been called before clutter_init()");
g_critical ("%s has been called before clutter_init()", G_STRFUNC);
return 0;
}