diff options
author | Havoc Pennington <hp@redhat.com> | 2004-05-28 22:30:04 +0000 |
---|---|---|
committer | Havoc Pennington <hp@redhat.com> | 2004-05-28 22:30:04 +0000 |
commit | fbae5baa06819fed71f62ddbba64a64675c2d333 (patch) | |
tree | d945583c65f22233b61fc0e912525d5cd8b3ff8f /glib | |
parent | 1041b44d304cca543fe133b338b2021bbeffa913 (diff) |
2004-05-28 Havoc Pennington <hp@redhat.com>
* test/glib/test-service-glib.c (main): remove unused variable
* glib/dbus-gidl.c (base_info_ref): fix a silly compiler warning
* dbus/dbus-auth.h (enum): remove AUTHENTICATED_WITH_UNUSED_BYTES
from the enum, no longer in use.
* dbus/dbus-sysdeps.h: include config.h so DBUS_VA_COPY actually
works right.
* dbus/dbus-message.c: add various _dbus_return_val_if_fail for
whether error_name passed in is a valid error name.
Diffstat (limited to 'glib')
-rw-r--r-- | glib/dbus-gidl.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/glib/dbus-gidl.c b/glib/dbus-gidl.c index ea476b0f..2605df01 100644 --- a/glib/dbus-gidl.c +++ b/glib/dbus-gidl.c @@ -70,8 +70,8 @@ struct ArgInfo BaseInfo * base_info_ref (BaseInfo *info) { - g_return_if_fail (info != NULL); - g_return_if_fail (info->refcount > 0); + g_return_val_if_fail (info != NULL, NULL); + g_return_val_if_fail (info->refcount > 0, NULL); info->refcount += 1; |