summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Persch <chpe@gnome.org>2008-01-28 14:52:34 +0000
committerChristian Persch <chpe@src.gnome.org>2008-01-28 14:52:34 +0000
commitea1c807d697496a178f12c9a3e87afb09f101436 (patch)
tree03c33c452a3af2eb949a537990a80ae83867b0f4
parent1df98bd6a43672da6d3dd5a905ab89f5c6f49a31 (diff)
downloadmetacity-ea1c807d697496a178f12c9a3e87afb09f101436.tar.gz
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
-rw-r--r--ChangeLog7
-rw-r--r--src/core/display.c2
-rw-r--r--src/core/screen.c2
-rw-r--r--src/core/xprops.c4
4 files changed, 11 insertions, 4 deletions
diff --git a/ChangeLog b/ChangeLog
index 09bc6feb..c0d81154 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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>
* src/ui/theme.[ch]: more commenting.
diff --git a/src/core/display.c b/src/core/display.c
index 90e58fd1..ac9c6c64 100644
--- a/src/core/display.c
+++ b/src/core/display.c
@@ -4785,7 +4785,7 @@ convert_property (MetaDisplay *display,
* can send SelectionNotify
*/
/* 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);
return TRUE;
diff --git a/src/core/screen.c b/src/core/screen.c
index 9d965ac1..419b5376 100644
--- a/src/core/screen.c
+++ b/src/core/screen.c
@@ -2255,7 +2255,7 @@ meta_screen_calc_workspace_layout (MetaScreen *screen,
if (i != grid_area)
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_col = 0;
diff --git a/src/core/xprops.c b/src/core/xprops.c
index 68c350ad..1905ccaa 100644
--- a/src/core/xprops.c
+++ b/src/core/xprops.c
@@ -965,7 +965,7 @@ meta_prop_get_values (MetaDisplay *display,
* property notify on an atom we don't care about.
*/
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;
case META_PROP_VALUE_UTF8_LIST:
case META_PROP_VALUE_UTF8:
@@ -1015,7 +1015,7 @@ meta_prop_get_values (MetaDisplay *display,
/* Get replies for all our tasks */
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);
/* Collect results, should arrive in order requested */