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 /gdk/gdkwindow.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 'gdk/gdkwindow.c')
-rw-r--r-- | gdk/gdkwindow.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdk/gdkwindow.c b/gdk/gdkwindow.c index 88eb592651..473daa58e3 100644 --- a/gdk/gdkwindow.c +++ b/gdk/gdkwindow.c @@ -415,7 +415,7 @@ GdkWindow* gdk_window_ref (GdkWindow *window) { GdkWindowPrivate *private = (GdkWindowPrivate *)window; - g_return_if_fail (window != NULL); + g_return_val_if_fail (window != NULL, NULL); private->ref_count += 1; return window; |