dbus/glib dbus-gidl.c,1.4,1.5
Havoc Pennington
hp at pdx.freedesktop.org
Fri May 28 15:30:06 PDT 2004
Update of /cvs/dbus/dbus/glib
In directory pdx:/tmp/cvs-serv1708/glib
Modified Files:
dbus-gidl.c
Log Message:
2004-05-28 Havoc Pennington <hp at 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.
Index: dbus-gidl.c
===================================================================
RCS file: /cvs/dbus/dbus/glib/dbus-gidl.c,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- a/dbus-gidl.c 2 Dec 2003 10:44:21 -0000 1.4
+++ b/dbus-gidl.c 28 May 2004 22:30:04 -0000 1.5
@@ -70,8 +70,8 @@
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;
More information about the dbus-commit
mailing list