diff options
author | Colin Walters <walters@verbum.org> | 2009-02-25 11:27:57 -0500 |
---|---|---|
committer | Colin Walters <walters@verbum.org> | 2009-04-16 13:03:12 -0400 |
commit | e11c0aced3b00733766207f15876fb300d63d442 (patch) | |
tree | 2ad4ce38da62690068138c1db5f53f64066d55e4 /dbus/dbus-glib.h | |
parent | a809ea3016a0eae166df13c757f3e917dea0c0f9 (diff) |
Bug 19927 - Use const for GError * param we're not modifying
This makes it clearer we're not taking ownership of the error, and
interoperates more nicely with functions which provide const GError *.
Diffstat (limited to 'dbus/dbus-glib.h')
-rw-r--r-- | dbus/dbus-glib.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dbus/dbus-glib.h b/dbus/dbus-glib.h index aa7c793..9a12378 100644 --- a/dbus/dbus-glib.h +++ b/dbus/dbus-glib.h @@ -308,7 +308,7 @@ typedef struct _DBusGMethodInvocation DBusGMethodInvocation; void dbus_g_method_return (DBusGMethodInvocation *context, ...); -void dbus_g_method_return_error (DBusGMethodInvocation *context, GError *error); +void dbus_g_method_return_error (DBusGMethodInvocation *context, const GError *error); /* Probably possible to replace this with a closure */ typedef struct { |