aboutsummaryrefslogtreecommitdiff
path: root/gdbus/gdbus.h
diff options
context:
space:
mode:
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,