dbus/dbus dbus-message.c,1.151,1.152 dbus-protocol.h,1.33,1.34
Havoc Pennington
hp@freedesktop.org
Thu Jan 20 19:44:12 PST 2005
Update of /cvs/dbus/dbus/dbus
In directory gabe:/tmp/cvs-serv882/dbus
Modified Files:
dbus-message.c dbus-protocol.h
Log Message:
2005-01-20 Havoc Pennington <hp@redhat.com>
* doc/dbus-tutorial.xml: replace > with >
* bus/services.c (bus_registry_acquire_service): validate the name
and return a better error if it's no good.
* doc/dbus-specification.xml: note NO_AUTO_START change
* dbus/dbus-protocol.h (DBUS_HEADER_FLAG_NO_AUTO_START): change
from AUTO_START, we're toggling the default
* bus/dispatch.c: adapt the tests to change of auto-start default
Index: dbus-message.c
===================================================================
RCS file: /cvs/dbus/dbus/dbus/dbus-message.c,v
retrieving revision 1.151
retrieving revision 1.152
diff -u -d -r1.151 -r1.152
--- dbus-message.c 18 Jan 2005 20:42:15 -0000 1.151
+++ dbus-message.c 21 Jan 2005 03:44:10 -0000 1.152
@@ -2207,8 +2207,8 @@
_dbus_return_if_fail (!message->locked);
_dbus_header_toggle_flag (&message->header,
- DBUS_HEADER_FLAG_AUTO_START,
- auto_start);
+ DBUS_HEADER_FLAG_NO_AUTO_START,
+ !auto_start);
}
/**
@@ -2223,8 +2223,8 @@
{
_dbus_return_val_if_fail (message != NULL, FALSE);
- return _dbus_header_get_flag (&message->header,
- DBUS_HEADER_FLAG_AUTO_START);
+ return !_dbus_header_get_flag (&message->header,
+ DBUS_HEADER_FLAG_NO_AUTO_START);
}
Index: dbus-protocol.h
===================================================================
RCS file: /cvs/dbus/dbus/dbus/dbus-protocol.h,v
retrieving revision 1.33
retrieving revision 1.34
diff -u -d -r1.33 -r1.34
--- dbus-protocol.h 18 Jan 2005 20:42:15 -0000 1.33
+++ dbus-protocol.h 21 Jan 2005 03:44:10 -0000 1.34
@@ -142,7 +142,7 @@
/* Header flags */
#define DBUS_HEADER_FLAG_NO_REPLY_EXPECTED 0x1
-#define DBUS_HEADER_FLAG_AUTO_START 0x2
+#define DBUS_HEADER_FLAG_NO_AUTO_START 0x2
/* Header fields */
#define DBUS_HEADER_FIELD_INVALID 0
More information about the dbus-commit
mailing list