[gtk+] Use G_STRFUNC instead __FUNCTION__



commit 42aebf51a293c86a6481c0ab7231087f8964c8a4
Author: Javier Jardón <jjardon gnome org>
Date:   Wed Oct 21 22:47:05 2009 +0200

    Use G_STRFUNC instead __FUNCTION__

 gtk/gtkwindow.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gtk/gtkwindow.c b/gtk/gtkwindow.c
index 36c5a65..e0e6afe 100644
--- a/gtk/gtkwindow.c
+++ b/gtk/gtkwindow.c
@@ -5753,7 +5753,7 @@ clamp_window_to_rectangle (gint               *x,
                            const GdkRectangle *rect)
 {
 #ifdef DEBUGGING_OUTPUT
-  g_print ("%s: %+d%+d %dx%d: %+d%+d: %dx%d", __FUNCTION__, rect->x, rect->y, rect->width, rect->height, *x, *y, w, h);
+  g_print ("%s: %+d%+d %dx%d: %+d%+d: %dx%d", G_STRFUNC, rect->x, rect->y, rect->width, rect->height, *x, *y, w, h);
 #endif
 
   /* If it is too large, center it. If it fits on the monitor but is



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]