Use G_STRFUNC instead of the deprecated G_GNUC_FUNCTION. Bug #512561.

2008-01-28  Christian Persch  <chpe@gnome.org>

	* src/core/display.c: (convert_property):
	* src/core/screen.c: (meta_screen_calc_workspace_layout):
	* src/core/xprops.c: (meta_prop_get_values): 
	Use G_STRFUNC instead of the deprecated G_GNUC_FUNCTION. Bug #512561.

svn path=/trunk/; revision=3529
This commit is contained in:
Christian Persch 2008-01-28 14:52:34 +00:00 committed by Christian Persch
parent 1df98bd6a4
commit ea1c807d69
4 changed files with 11 additions and 4 deletions

View File

@ -1,3 +1,10 @@
2008-01-28 Christian Persch <chpe@gnome.org>
* src/core/display.c: (convert_property):
* src/core/screen.c: (meta_screen_calc_workspace_layout):
* src/core/xprops.c: (meta_prop_get_values):
Use G_STRFUNC instead of the deprecated G_GNUC_FUNCTION. Bug #512561.
2008-01-21 Thomas Thurman <tthurman@gnome.org> 2008-01-21 Thomas Thurman <tthurman@gnome.org>
* src/ui/theme.[ch]: more commenting. * src/ui/theme.[ch]: more commenting.

View File

@ -4785,7 +4785,7 @@ convert_property (MetaDisplay *display,
* can send SelectionNotify * can send SelectionNotify
*/ */
/* FIXME the error trap pop synced anyway, right? */ /* FIXME the error trap pop synced anyway, right? */
meta_topic (META_DEBUG_SYNC, "Syncing on %s\n", G_GNUC_FUNCTION); meta_topic (META_DEBUG_SYNC, "Syncing on %s\n", G_STRFUNC);
XSync (display->xdisplay, False); XSync (display->xdisplay, False);
return TRUE; return TRUE;

View File

@ -2255,7 +2255,7 @@ meta_screen_calc_workspace_layout (MetaScreen *screen,
if (i != grid_area) if (i != grid_area)
meta_bug ("did not fill in the whole workspace grid in %s (%d filled)\n", meta_bug ("did not fill in the whole workspace grid in %s (%d filled)\n",
G_GNUC_FUNCTION, i); G_STRFUNC, i);
current_row = 0; current_row = 0;
current_col = 0; current_col = 0;

View File

@ -965,7 +965,7 @@ meta_prop_get_values (MetaDisplay *display,
* property notify on an atom we don't care about. * property notify on an atom we don't care about.
*/ */
if (values[i].atom != None) if (values[i].atom != None)
meta_bug ("META_PROP_VALUE_INVALID requested in %s\n", G_GNUC_FUNCTION); meta_bug ("META_PROP_VALUE_INVALID requested in %s\n", G_STRFUNC);
break; break;
case META_PROP_VALUE_UTF8_LIST: case META_PROP_VALUE_UTF8_LIST:
case META_PROP_VALUE_UTF8: case META_PROP_VALUE_UTF8:
@ -1015,7 +1015,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, G_GNUC_FUNCTION); n_values, G_STRFUNC);
XSync (display->xdisplay, False); XSync (display->xdisplay, False);
/* Collect results, should arrive in order requested */ /* Collect results, should arrive in order requested */