changed __FUNCTION__ to G_GNUC_FUNCTION as __FUNCTION__ is not portable.

2002-11-04 Erwann Chenede - <erwann.chenede@sun.com>

  * src/xprops.c (meta_prop_get_values): changed __FUNCTION__
  to G_GNUC_FUNCTION as __FUNCTION__ is not portable.
This commit is contained in:
Erwann Chenede - 2002-11-04 17:24:47 +00:00 committed by Erwann Chenede
parent e0a4c2a1df
commit 373f6de13e
2 changed files with 7 additions and 2 deletions

View File

@ -1,3 +1,8 @@
2002-11-04 Erwann Chenede - <erwann.chenede@sun.com>
* src/xprops.c (meta_prop_get_values): changed __FUNCTION__
to G_GNUC_FUNCTION as __FUNCTION__ is not portable.
2002-11-03 Havoc Pennington <hp@pobox.com> 2002-11-03 Havoc Pennington <hp@pobox.com>
* src/display.c (meta_display_grab): remove XSync calls from here * src/display.c (meta_display_grab): remove XSync calls from here

View File

@ -875,7 +875,7 @@ meta_prop_get_values (MetaDisplay *display,
switch (values[i].type) switch (values[i].type)
{ {
case META_PROP_VALUE_INVALID: case META_PROP_VALUE_INVALID:
meta_bug ("META_PROP_VALUE_INVALID requested in %s\n", __FUNCTION__); meta_bug ("META_PROP_VALUE_INVALID requested in %s\n", G_GNUC_FUNCTION);
break; break;
case META_PROP_VALUE_UTF8_LIST: case META_PROP_VALUE_UTF8_LIST:
case META_PROP_VALUE_UTF8: case META_PROP_VALUE_UTF8:
@ -920,7 +920,7 @@ meta_prop_get_values (MetaDisplay *display,
/* Get replies for all our tasks */ /* Get replies for all our tasks */
meta_topic (META_DEBUG_SYNC, "Syncing to get %d GetProperty replies in %s\n", meta_topic (META_DEBUG_SYNC, "Syncing to get %d GetProperty replies in %s\n",
n_values, __FUNCTION__); n_values, G_GNUC_FUNCTION);
XSync (display->xdisplay, False); XSync (display->xdisplay, False);
/* Collect results, should arrive in order requested */ /* Collect results, should arrive in order requested */