summaryrefslogtreecommitdiffstats
path: root/gdbus/gdbus.h
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2008-06-06 10:42:15 +0000
committerMarcel Holtmann <marcel@holtmann.org>2008-06-06 10:42:15 +0000
commit38b422bbfe271a79b098acb99551812b0b9bde43 (patch)
tree2accdbad5f546aaa24e9618eda5d757be6a58901 /gdbus/gdbus.h
parent648ac7812adfc4401ae654055ffb5676393b2fa2 (diff)
Remove obsolete D-Bus sending helpers
Diffstat (limited to 'gdbus/gdbus.h')
-rw-r--r--gdbus/gdbus.h14
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,