Commit 2bf99bb1 authored by Michael Natterer's avatar Michael Natterer Committed by Michael Natterer

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
parent 26f205e2
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
......
......@@ -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
......
......@@ -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;
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment