summaryrefslogtreecommitdiff
path: root/gtk/gtktext.c
diff options
context:
space:
mode:
authorTim Janik <timj@src.gnome.org>1997-12-10 22:43:24 +0000
committerTim Janik <timj@src.gnome.org>1997-12-10 22:43:24 +0000
commit8a6dea2d5541059c4ce9094e6bf149bb3623859e (patch)
tree4836f500a204a8201546a0b18cc86d6dd1528e7f /gtk/gtktext.c
parent68269a3f2a8dca675a700153e9758e0bd9a30d51 (diff)
downloadgtk+-8a6dea2d5541059c4ce9094e6bf149bb3623859e.tar.gz
GLib:
* glib_pre1.h: * glib_pre2.h: * glib.h: this file now gets concatenated by makeglib_h from glib_pre1.h and glib_pre2.h to merge in glibconfig.h wich got created by configure (done by Jay Painter). * glib_pre2.h: the g_assert*() and g_return_*_fail() macros are wrapped by G_STMT_START and G_STMT_END now, to avoid conflicts when used within if (...) g_macro(); else ... conditionals. Gtk+: * fixed some compiler errors, because g_return_if_fail() wasn't used with a trailing semicolon in some places. fixed few other warnings also. -timj
Diffstat (limited to 'gtk/gtktext.c')
-rw-r--r--gtk/gtktext.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/gtktext.c b/gtk/gtktext.c
index 7d3995a4a9..4a94de0843 100644
--- a/gtk/gtktext.c
+++ b/gtk/gtktext.c
@@ -476,7 +476,7 @@ gtk_text_set_point (GtkText *text,
{
g_return_if_fail (text != NULL);
g_return_if_fail (GTK_IS_TEXT (text));
- g_return_if_fail (index >= 0 && index <= TEXT_LENGTH (text))
+ g_return_if_fail (index >= 0 && index <= TEXT_LENGTH (text));
text->point = find_mark (text, index);
}