summaryrefslogtreecommitdiff
path: root/src/dbus-common.c
diff options
context:
space:
mode:
authorJohan Hedberg <johan.hedberg@intel.com>2012-12-14 12:50:10 +0200
committerJohan Hedberg <johan.hedberg@intel.com>2012-12-14 12:50:10 +0200
commit2276e7e7e8b8247485f2d908f88ff72c2dc24957 (patch)
tree52cfc5e2008a5da17a73e016d67987a9955e0589 /src/dbus-common.c
parentef063f754e0b63880723fa8b672d71225b00b102 (diff)
core: Remove unused emit_property_changed function
Diffstat (limited to 'src/dbus-common.c')
-rw-r--r--src/dbus-common.c25
1 files changed, 0 insertions, 25 deletions
diff --git a/src/dbus-common.c b/src/dbus-common.c
index 73003e96e..42afa554a 100644
--- a/src/dbus-common.c
+++ b/src/dbus-common.c
@@ -118,31 +118,6 @@ void dict_append_array(DBusMessageIter *dict, const char *key, int type,
dbus_message_iter_close_container(dict, &entry);
}
-dbus_bool_t emit_property_changed(const char *path,
- const char *interface,
- const char *name,
- int type, void *value)
-{
- DBusMessage *signal;
- DBusMessageIter iter;
-
- signal = dbus_message_new_signal(path, interface, "PropertyChanged");
-
- if (!signal) {
- error("Unable to allocate new %s.PropertyChanged signal",
- interface);
- return FALSE;
- }
-
- dbus_message_iter_init_append(signal, &iter);
-
- dbus_message_iter_append_basic(&iter, DBUS_TYPE_STRING, &name);
-
- append_variant(&iter, type, value);
-
- return g_dbus_send_message(connection, signal);
-}
-
dbus_bool_t emit_array_property_changed(const char *path,
const char *interface,
const char *name,