summaryrefslogtreecommitdiff
path: root/gtk/gtktextchild.c
diff options
context:
space:
mode:
authorMichael Natterer <mitch@imendio.com>2008-01-28 13:01:01 +0000
committerMichael Natterer <mitch@src.gnome.org>2008-01-28 13:01:01 +0000
commitf6f6a2a4b01fa942f051a93d539825fd4a38d59b (patch)
tree281de369eb833fb2dcd4bfa170057df3f3cc4ddd /gtk/gtktextchild.c
parent5feae00aa2dfbb9310ba071a49a2aa61a9d2fa0a (diff)
downloadgtk+-f6f6a2a4b01fa942f051a93d539825fd4a38d59b.tar.gz
gtk/gtktextchild.c use G_STRLOC instead of G_GNUC_FUNCTION (which is
2008-01-28 Michael Natterer <mitch@imendio.com> * gtk/gtktextchild.c * gtk/gtktextview.c: use G_STRLOC instead of G_GNUC_FUNCTION (which is deprecated now). svn path=/trunk/; revision=19416
Diffstat (limited to 'gtk/gtktextchild.c')
-rw-r--r--gtk/gtktextchild.c28
1 files changed, 15 insertions, 13 deletions
diff --git a/gtk/gtktextchild.c b/gtk/gtktextchild.c
index c952d4c1eb..04adddad30 100644
--- a/gtk/gtktextchild.c
+++ b/gtk/gtktextchild.c
@@ -55,21 +55,23 @@
#include "gtkintl.h"
#include "gtkalias.h"
-#define CHECK_IN_BUFFER(anchor) \
- G_STMT_START { \
- if ((anchor)->segment == NULL) \
- { \
- g_warning ("%s: GtkTextChildAnchor hasn't been in a buffer yet", G_GNUC_FUNCTION); \
- } \
+#define CHECK_IN_BUFFER(anchor) \
+ G_STMT_START { \
+ if ((anchor)->segment == NULL) \
+ { \
+ g_warning ("%s: GtkTextChildAnchor hasn't been in a buffer yet",\
+ G_STRLOC); \
+ } \
} G_STMT_END
-#define CHECK_IN_BUFFER_RETURN(anchor, val) \
- G_STMT_START { \
- if ((anchor)->segment == NULL) \
- { \
- g_warning ("%s: GtkTextChildAnchor hasn't been in a buffer yet", G_GNUC_FUNCTION); \
- return (val); \
- } \
+#define CHECK_IN_BUFFER_RETURN(anchor, val) \
+ G_STMT_START { \
+ if ((anchor)->segment == NULL) \
+ { \
+ g_warning ("%s: GtkTextChildAnchor hasn't been in a buffer yet",\
+ G_STRLOC); \
+ return (val); \
+ } \
} G_STMT_END
static GtkTextLineSegment *