diff options
author | Tim Janik <timj@src.gnome.org> | 1997-12-10 22:43:24 +0000 |
---|---|---|
committer | Tim Janik <timj@src.gnome.org> | 1997-12-10 22:43:24 +0000 |
commit | 8a6dea2d5541059c4ce9094e6bf149bb3623859e (patch) | |
tree | 4836f500a204a8201546a0b18cc86d6dd1528e7f /gtk/gtktext.c | |
parent | 68269a3f2a8dca675a700153e9758e0bd9a30d51 (diff) | |
download | gtk+-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.c | 2 |
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); } |