gtk/gtktextchild.c meant to use G_STRFUNC, not G_STRLOC...

2008-01-28  Michael Natterer  <mitch@imendio.com>

	* gtk/gtktextchild.c
	* gtk/gtktextview.c: meant to use G_STRFUNC, not G_STRLOC...


svn path=/trunk/; revision=19418
This commit is contained in:
Michael Natterer 2008-01-28 15:16:13 +00:00 committed by Michael Natterer
parent 26f205e20e
commit 2bf99bb12e
3 changed files with 14 additions and 9 deletions

View File

@ -1,3 +1,8 @@
2008-01-28 Michael Natterer <mitch@imendio.com>
* gtk/gtktextchild.c
* gtk/gtktextview.c: meant to use G_STRFUNC, not G_STRLOC...
2008-01-28 Michael Natterer <mitch@imendio.com>
* demos/gtk-demo/builder.c (about_activate): use

View File

@ -60,7 +60,7 @@
if ((anchor)->segment == NULL) \
{ \
g_warning ("%s: GtkTextChildAnchor hasn't been in a buffer yet",\
G_STRLOC); \
G_STRFUNC); \
} \
} G_STMT_END
@ -69,7 +69,7 @@
if ((anchor)->segment == NULL) \
{ \
g_warning ("%s: GtkTextChildAnchor hasn't been in a buffer yet",\
G_STRLOC); \
G_STRFUNC); \
return (val); \
} \
} G_STMT_END

View File

@ -7935,7 +7935,7 @@ text_window_invalidate_rect (GtkTextWindow *win,
break;
default:
g_warning ("%s: bug!", G_STRLOC);
g_warning ("%s: bug!", G_STRFUNC);
return;
break;
}
@ -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_STRLOC);
g_warning ("%s: You can't get GTK_TEXT_WINDOW_PRIVATE, it has \"PRIVATE\" in the name because it is private.", G_STRFUNC);
return NULL;
break;
}
g_warning ("%s: Unknown GtkTextWindowType", G_STRLOC);
g_warning ("%s: Unknown GtkTextWindowType", G_STRFUNC);
return NULL;
}
@ -8275,11 +8275,11 @@ gtk_text_view_buffer_to_window_coords (GtkTextView *text_view,
break;
case GTK_TEXT_WINDOW_PRIVATE:
g_warning ("%s: can't get coords for private windows", G_STRLOC);
g_warning ("%s: can't get coords for private windows", G_STRFUNC);
break;
default:
g_warning ("%s: Unknown GtkTextWindowType", G_STRLOC);
g_warning ("%s: Unknown GtkTextWindowType", G_STRFUNC);
break;
}
}
@ -8415,11 +8415,11 @@ gtk_text_view_window_to_buffer_coords (GtkTextView *text_view,
break;
case GTK_TEXT_WINDOW_PRIVATE:
g_warning ("%s: can't get coords for private windows", G_STRLOC);
g_warning ("%s: can't get coords for private windows", G_STRFUNC);
break;
default:
g_warning ("%s: Unknown GtkTextWindowType", G_STRLOC);
g_warning ("%s: Unknown GtkTextWindowType", G_STRFUNC);
break;
}
}