DBusConnection.removeFilter

Removes a filter.

Note that since filters run in a different thread, there is a race condition where it is possible that the filter will be running even after calling g_dbus_connection_remove_filter(), so you cannot just free data that the filter might be using. Instead, you should pass a GDestroyNotify to g_dbus_connection_add_filter(), which will be called when it is guaranteed that the data is no longer needed.

class DBusConnection
void
removeFilter
()

Parameters

filterId uint

an identifier obtained from g_dbus_connection_add_filter()

Meta

Since

2.26