mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-01 23:13:40 +02:00
Bug 624546 – Modification of GDBusMessage in filter function
Rework filter functions as per https://bugzilla.gnome.org/show_bug.cgi?id=624546#c8 This commit breaks ABI. However, this ABI break affects only applications using filter functions. The only known user of is dconf. Signed-off-by: David Zeuthen <davidz@redhat.com>
This commit is contained in:
@@ -1214,31 +1214,6 @@ typedef enum
|
||||
G_DBUS_MESSAGE_BYTE_ORDER_LITTLE_ENDIAN = 'l'
|
||||
} GDBusMessageByteOrder;
|
||||
|
||||
/**
|
||||
* GDBusMessageFilterResult:
|
||||
* @G_DBUS_MESSAGE_FILTER_RESULT_NO_EFFECT: The filter function had
|
||||
* no effect on the message - the message will be passed on to the
|
||||
* next filter function and/or sent to the remote peer.
|
||||
* @G_DBUS_MESSAGE_FILTER_RESULT_MESSAGE_CONSUMED: The message was
|
||||
* consumed by the filter function and will be dropped - the message
|
||||
* will not be passed to other filter functions and/or sent to the
|
||||
* remote peer.
|
||||
* @G_DBUS_MESSAGE_FILTER_RESULT_MESSAGE_ALTERED: The message was
|
||||
* modified - the message will still be passed on to the next filter
|
||||
* function and/or sent to the remote peer.
|
||||
*
|
||||
* Possible return values for #GDBusMessageFilterFunction when
|
||||
* handling a #GDBusMessage.
|
||||
*
|
||||
* Since: 2.26
|
||||
*/
|
||||
typedef enum
|
||||
{
|
||||
G_DBUS_MESSAGE_FILTER_RESULT_NO_EFFECT,
|
||||
G_DBUS_MESSAGE_FILTER_RESULT_MESSAGE_CONSUMED,
|
||||
G_DBUS_MESSAGE_FILTER_RESULT_MESSAGE_ALTERED
|
||||
} GDBusMessageFilterResult;
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
#endif /* __GIO_ENUMS_H__ */
|
||||
|
Reference in New Issue
Block a user