projects
/
profile
/
ivi
/
connman.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c43d569
)
Send signal when network got removed
author
Marcel Holtmann
<marcel@holtmann.org>
Fri, 12 Dec 2008 22:03:55 +0000
(23:03 +0100)
committer
Marcel Holtmann
<marcel@holtmann.org>
Fri, 12 Dec 2008 22:03:55 +0000
(23:03 +0100)
src/element.c
patch
|
blob
|
history
diff --git
a/src/element.c
b/src/element.c
index
31c4560
..
1dd9c61
100644
(file)
--- a/
src/element.c
+++ b/
src/element.c
@@
-1948,9
+1948,12
@@
static gboolean remove_element(GNode *node, gpointer user_data)
CONNMAN_CONNECTION_INTERFACE);
}
- if (element->type == CONNMAN_ELEMENT_TYPE_NETWORK)
+ if (element->type == CONNMAN_ELEMENT_TYPE_NETWORK) {
+ emit_networks_signal(connection, element->parent);
+
g_dbus_unregister_interface(connection, element->path,
CONNMAN_NETWORK_INTERFACE);
+ }
if (element->type == CONNMAN_ELEMENT_TYPE_DEVICE &&
element->subtype != CONNMAN_ELEMENT_SUBTYPE_NETWORK) {