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
This commit is contained in:
Michael Natterer 2008-01-28 13:01:01 +00:00 committed by Michael Natterer
parent 5feae00aa2
commit f6f6a2a4b0
3 changed files with 23 additions and 15 deletions

View File

@ -1,3 +1,9 @@
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).
2008-01-26 Johan Dahlin <johan@gnome.org>
* tests/Makefile.am:

View File

@ -59,7 +59,8 @@
G_STMT_START { \
if ((anchor)->segment == NULL) \
{ \
g_warning ("%s: GtkTextChildAnchor hasn't been in a buffer yet", G_GNUC_FUNCTION); \
g_warning ("%s: GtkTextChildAnchor hasn't been in a buffer yet",\
G_STRLOC); \
} \
} G_STMT_END
@ -67,7 +68,8 @@
G_STMT_START { \
if ((anchor)->segment == NULL) \
{ \
g_warning ("%s: GtkTextChildAnchor hasn't been in a buffer yet", G_GNUC_FUNCTION); \
g_warning ("%s: GtkTextChildAnchor hasn't been in a buffer yet",\
G_STRLOC); \
return (val); \
} \
} G_STMT_END

View File

@ -8102,12 +8102,12 @@ gtk_text_view_get_window (GtkTextView *text_view,
break;
case GTK_TEXT_WINDOW_PRIVATE:
g_warning ("%s: You can't get GTK_TEXT_WINDOW_PRIVATE, it has \"PRIVATE\" in the name because it is private.", G_GNUC_FUNCTION);
g_warning ("%s: You can't get GTK_TEXT_WINDOW_PRIVATE, it has \"PRIVATE\" in the name because it is private.", G_STRLOC);
return NULL;
break;
}
g_warning ("%s: Unknown GtkTextWindowType", G_GNUC_FUNCTION);
g_warning ("%s: Unknown GtkTextWindowType", G_STRLOC);
return NULL;
}