diff options
author | David Zeuthen <davidz@redhat.com> | 2010-06-21 16:08:53 -0400 |
---|---|---|
committer | David Zeuthen <davidz@redhat.com> | 2010-06-21 16:12:23 -0400 |
commit | 45411ccbe3c9d1b08332942d1e7b594330688126 (patch) | |
tree | 9f33c3a2ca3abd43e3e965b7fba829ddf8453950 /gio/gdbusconnection.h | |
parent | a4cd39e74122c9376954204cb45c6be4926e5ee9 (diff) |
Bug 621945 – Filter outgoing messages in GDBusConnection
This patch breaks some rarely-used public API (only known user is
dconf).
This patch is based on work from Peng Huang <shawn.p.huang@gmail.com>.
See https://bugzilla.gnome.org/show_bug.cgi?id=621945
Signed-off-by: David Zeuthen <davidz@redhat.com>
Diffstat (limited to 'gio/gdbusconnection.h')
-rw-r--r-- | gio/gdbusconnection.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gio/gdbusconnection.h b/gio/gdbusconnection.h index b203196a2..7390dc561 100644 --- a/gio/gdbusconnection.h +++ b/gio/gdbusconnection.h @@ -469,6 +469,8 @@ void g_dbus_connection_signal_unsubscribe (GDBusConnection * GDBusMessageFilterFunction: * @connection: A #GDBusConnection. * @message: A #GDBusMessage. + * @incoming: %TRUE if it is a message received from the other peer, %FALSE if it is + * a message to be sent to the other peer. * @user_data: User data passed when adding the filter. * * Signature for function used in g_dbus_connection_add_filter(). @@ -480,6 +482,7 @@ void g_dbus_connection_signal_unsubscribe (GDBusConnection */ typedef gboolean (*GDBusMessageFilterFunction) (GDBusConnection *connection, GDBusMessage *message, + gboolean incoming, gpointer user_data); guint g_dbus_connection_add_filter (GDBusConnection *connection, |