projects
/
framework
/
connectivity
/
connman.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e53e3eb
)
Add PropertyChanged signal declaration
author
Marcel Holtmann
<marcel@holtmann.org>
Sun, 10 Aug 2008 09:21:45 +0000
(11:21 +0200)
committer
Marcel Holtmann
<marcel@holtmann.org>
Sun, 10 Aug 2008 09:21:45 +0000
(11:21 +0200)
src/element.c
patch
|
blob
|
history
diff --git
a/src/element.c
b/src/element.c
index
365b42b
..
6086b7b
100644
(file)
--- a/
src/element.c
+++ b/
src/element.c
@@
-276,6
+276,11
@@
static GDBusMethodTable element_methods[] = {
{ },
};
+static GDBusSignalTable element_signals[] = {
+ { "PropertyChanged", "sv" },
+ { },
+};
+
struct append_filter {
enum connman_element_type type;
DBusMessageIter *iter;
@@
-714,8
+719,8
@@
static void register_element(gpointer data, gpointer user_data)
if (g_dbus_register_interface(connection, element->path,
CONNMAN_ELEMENT_INTERFACE,
- element_methods,
NULL, NULL
,
-
element, NULL) == FALSE)
+ element_methods,
element_signals
,
+
NULL,
element, NULL) == FALSE)
connman_error("Failed to register %s", element->path);
g_dbus_emit_signal(connection, CONNMAN_MANAGER_PATH,