diff options
author | John (J5) Palmieri <johnp@redhat.com> | 2006-08-04 16:15:16 +0000 |
---|---|---|
committer | John (J5) Palmieri <johnp@redhat.com> | 2006-08-04 16:15:16 +0000 |
commit | 222bd07e9df5e3b5a367d1282b43fd3a827a7552 (patch) | |
tree | 49b0338a6251ebf98649dfec9efef2ccd64c1ed5 /dbus/dbus-errors.c | |
parent | 7652304bff969afb3969603149bb385efe861fe8 (diff) | |
download | dbus-222bd07e9df5e3b5a367d1282b43fd3a827a7552.tar.gz |
* configure.in: add -Wdeclaration-after-statement
* dbus/dbus-connection.c: change all the pending call stuff to
reflect the fact that pending call operations use the connection
lock
* dbus/dbus-pending-call.c: add locking here
* dbus/dbus-errors.c (struct DBusRealError): don't make the name
field const consistent with how message field is done
Diffstat (limited to 'dbus/dbus-errors.c')
-rw-r--r-- | dbus/dbus-errors.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/dbus/dbus-errors.c b/dbus/dbus-errors.c index d8f8aa60..fb230852 100644 --- a/dbus/dbus-errors.c +++ b/dbus/dbus-errors.c @@ -40,7 +40,7 @@ */ typedef struct { - const char *name; /**< error name */ + char *name; /**< error name */ char *message; /**< error message */ unsigned int const_message : 1; /**< Message is not owned by DBusError */ @@ -219,7 +219,7 @@ dbus_set_error_const (DBusError *error, real = (DBusRealError *)error; - real->name = name; + real->name = (char*) name; real->message = (char *)message; real->const_message = TRUE; } |