diff options
author | Marcel Holtmann <marcel@holtmann.org> | 2008-06-06 10:42:15 +0000 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2008-06-06 10:42:15 +0000 |
commit | 38b422bbfe271a79b098acb99551812b0b9bde43 (patch) | |
tree | 2accdbad5f546aaa24e9618eda5d757be6a58901 /gdbus/gdbus.h | |
parent | 648ac7812adfc4401ae654055ffb5676393b2fa2 (diff) |
Remove obsolete D-Bus sending helpers
Diffstat (limited to 'gdbus/gdbus.h')
-rw-r--r-- | gdbus/gdbus.h | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/gdbus/gdbus.h b/gdbus/gdbus.h index f7187f22..8bce2ee5 100644 --- a/gdbus/gdbus.h +++ b/gdbus/gdbus.h @@ -43,9 +43,6 @@ gboolean g_dbus_set_disconnect_function(DBusConnection *connection, #define DBUS_TYPE_STRING_ARRAY_AS_STRING (DBUS_TYPE_ARRAY_AS_STRING DBUS_TYPE_STRING_AS_STRING) #define DBUS_TYPE_BYTE_ARRAY_AS_STRING (DBUS_TYPE_ARRAY_AS_STRING DBUS_TYPE_BYTE_AS_STRING) -DBusHandlerResult dbus_connection_send_and_unref(DBusConnection *connection, - DBusMessage *message); - dbus_bool_t dbus_connection_create_object_path(DBusConnection *connection, const char *path, void *user_data, DBusObjectPathUnregisterFunction function); @@ -111,17 +108,6 @@ dbus_bool_t dbus_connection_emit_property_changed(DBusConnection *conn, const char *name, int type, void *value); -static inline DBusHandlerResult send_message_and_unref(DBusConnection *conn, - DBusMessage *msg) -{ - if (msg) { - dbus_connection_send(conn, msg, NULL); - dbus_message_unref(msg); - } - - return DBUS_HANDLER_RESULT_HANDLED; -} - typedef void (* GDBusDestroyFunction) (void *user_data); typedef DBusMessage * (* GDBusMethodFunction) (DBusConnection *connection, |