tizen 2.3 release tizen_2.3 submit/tizen_2.3/20150202.064437 tizen_2.3_release
authorjk7744.park <jk7744.park@samsung.com>
Sun, 1 Feb 2015 04:57:02 +0000 (13:57 +0900)
committerjk7744.park <jk7744.park@samsung.com>
Sun, 1 Feb 2015 04:57:02 +0000 (13:57 +0900)
16 files changed:
COPYING
edbus-tools.manifest [new file with mode: 0644]
edbus.manifest
packaging/edbus.spec
src/bin/e_dbus_connman0_7x_test.c
src/lib/bluez/E_Bluez.h
src/lib/bluez/e_bluez_adapter.c
src/lib/connman0_7x/E_Connman.h
src/lib/dbus/E_DBus.h
src/lib/dbus/e_dbus_message.c
src/lib/dbus/e_dbus_signal.c
src/lib/hal/E_Hal.h
src/lib/notification/E_Notify.h
src/lib/notification/daemon.c
src/lib/ofono/E_Ofono.h
src/lib/ukit/E_Ukit.h

diff --git a/COPYING b/COPYING
index fcba206..3885df2 100644 (file)
--- a/COPYING
+++ b/COPYING
@@ -1,6 +1,6 @@
 Copyright notice for E_Dbus:
 
-Copyright (C) 2006-2011 Brian Mattern and various contributors (see AUTHORS)
+Copyright (C) 2006-2014 Brian Mattern and various contributors (see AUTHORS)
 
 All rights reserved.
 
diff --git a/edbus-tools.manifest b/edbus-tools.manifest
new file mode 100644 (file)
index 0000000..41c8d3a
--- /dev/null
@@ -0,0 +1,18 @@
+<manifest>
+       <request>
+               <domain name="_"/>
+       </request>
+       <assign>
+               <filesystem path="/usr/bin/e_dbus_async_client_test" exec_label="none" />
+               <filesystem path="/usr/bin/e_dbus_async_server_test" exec_label="none" />
+               <filesystem path="/usr/bin/e_dbus_bluez_test" exec_label="none" />
+               <filesystem path="/usr/bin/e_dbus_connman0_7x_test" exec_label="none" />
+               <filesystem path="/usr/bin/e_dbus_notification_daemon" exec_label="none" />
+               <filesystem path="/usr/bin/e_dbus_notify" exec_label="none" />
+               <filesystem path="/usr/bin/e_dbus_ofono_test" exec_label="none" />
+               <filesystem path="/usr/bin/e_dbus_test" exec_label="none" />
+               <filesystem path="/usr/bin/e_dbus_test_client" exec_label="none" />
+               <filesystem path="/usr/bin/e_dbus_ukit_test" exec_label="none" />
+               <filesystem path="/usr/bin/e-notify-send" exec_label="none" />
+       </assign>
+</manifest>
index 41c8d3a..97e8c31 100644 (file)
@@ -2,17 +2,4 @@
        <request>
                <domain name="_"/>
        </request>
-       <assign>
-               <filesystem path="/usr/bin/e_dbus_async_client_test" exec_label="none" />
-               <filesystem path="/usr/bin/e_dbus_async_server_test" exec_label="none" />
-               <filesystem path="/usr/bin/e_dbus_bluez_test" exec_label="none" />
-               <filesystem path="/usr/bin/e_dbus_connman0_7x_test" exec_label="none" />
-               <filesystem path="/usr/bin/e_dbus_notification_daemon" exec_label="none" />
-               <filesystem path="/usr/bin/e_dbus_notify" exec_label="none" />
-               <filesystem path="/usr/bin/e_dbus_ofono_test" exec_label="none" />
-               <filesystem path="/usr/bin/e_dbus_test" exec_label="none" />
-               <filesystem path="/usr/bin/e_dbus_test_client" exec_label="none" />
-               <filesystem path="/usr/bin/e_dbus_ukit_test" exec_label="none" />
-               <filesystem path="/usr/bin/e-notify-send" exec_label="none" />
-       </assign>
 </manifest>
index 09ee61e..5d1eacf 100644 (file)
@@ -1,11 +1,10 @@
-#sbs-git:slp/pkgs/e/edbus edbus 1.0.0.001+svn.69045slp2+build01 706f4acfdaf1b818e2387701a993eca929051358
 Name:       edbus
 Summary:    D-Bus and HAL wrapper libraries for EFL
-Version:    1.6.0+svn.76526slp2+build07
+Version:    1.6.0+svn.76526slp2+build10
 Release:    1
-VCS:        framework/uifw/edbus#1.6.0+svn.76526slp2+build06-0-gf8cc99cf55301331d3465870098a27d937bdb9aa
 Group:      System/Libraries
-License:    BSD
+License:    BSD 2-Clause
+URL:        http://www.enlightenment.org/
 Source0:    %{name}-%{version}.tar.gz
 Requires(post): /sbin/ldconfig
 Requires(postun): /sbin/ldconfig
@@ -19,49 +18,71 @@ BuildRequires:  dbus-devel
 D-Bus and HAL wrapper libraries for use with the EFL
 
 
-
 %package devel
 Summary:    D-Bus and HAL wrapper libraries for EFL (devel)
 Group:      Development/Libraries
 Requires:   %{name} = %{version}-%{release}
 
+
 %description devel
 D-Bus and HAL wrapper libraries for use with the EFL (devel)
 
 
+%package tools
+Summary:    D-Bus and HAL wrapper libraries for EFL (tools)
+Group:      Development/Tools
+Requires:   %{name} = %{version}-%{release}
+Provides:   %{name}-bin
+Obsoletes:  %{name}-bin
+
+
+%description tools
+D-Bus and HAL wrapper libraries for use with the EFL (tools)
+
+
 %prep
 %setup -q
 
 
 %build
-export CFLAGS+=" -fvisibility=hidden -fPIC"
+export CFLAGS+=" -fvisibility=hidden -fPIC -Wall"
 export LDFLAGS+=" -fvisibility=hidden -Wl,--hash-style=both -Wl,--as-needed"
 
 %autogen --disable-static
+
 make %{?jobs:-j%jobs}
 
+
 %install
-rm -rf %{buildroot}
 %make_install
-mkdir -p %{buildroot}/usr/share/license
-cp %{_builddir}/%{buildsubdir}/COPYING %{buildroot}/usr/share/license/%{name}
+mkdir -p %{buildroot}/%{_datadir}/license
+cp %{_builddir}/%{buildsubdir}/COPYING %{buildroot}/%{_datadir}/license/%{name}
+cp %{_builddir}/%{buildsubdir}/COPYING %{buildroot}/%{_datadir}/license/%{name}-tools
 
 
 %post -p /sbin/ldconfig
 
+
 %postun -p /sbin/ldconfig
 
+
 %files
 %defattr(-,root,root,-)
-%{_bindir}/e-*
-%{_bindir}/e_*
 %{_libdir}/libe*.so.*
-/usr/share/e_dbus/logo.png
+%{_datadir}/license/%{name}
 %manifest %{name}.manifest
-/usr/share/license/%{name}
+
 
 %files devel
 %defattr(-,root,root,-)
+%{_bindir}/e_dbus_async_client_test
+%{_bindir}/e_dbus_async_server_test
+%{_bindir}/e_dbus_bluez_test
+%{_bindir}/e_dbus_connman0_7x_test
+%{_bindir}/e_dbus_ofono_test
+%{_bindir}/e_dbus_test
+%{_bindir}/e_dbus_test_client
+%{_bindir}/e_dbus_ukit_test
 %{_libdir}/libebluez.so
 %{_libdir}/libeconnman0_7x.so
 %{_libdir}/libedbus.so
@@ -76,7 +97,6 @@ cp %{_builddir}/%{buildsubdir}/COPYING %{buildroot}/usr/share/license/%{name}
 %{_libdir}/pkgconfig/enotify.pc
 %{_libdir}/pkgconfig/eofono.pc
 %{_libdir}/pkgconfig/eukit.pc
-
 %{_includedir}/e_dbus-1/E_Bluez.h
 %{_includedir}/e_dbus-1/connman0_7x/E_Connman.h
 %{_includedir}/e_dbus-1/E_DBus.h
@@ -85,3 +105,12 @@ cp %{_builddir}/%{buildsubdir}/COPYING %{buildroot}/usr/share/license/%{name}
 %{_includedir}/e_dbus-1/E_Notify.h
 %{_includedir}/e_dbus-1/E_Ofono.h
 %{_includedir}/e_dbus-1/E_Ukit.h
+
+
+%files tools
+%{_bindir}/e-notify-send
+%{_bindir}/e_dbus_notification_daemon
+%{_bindir}/e_dbus_notify
+%{_datadir}/e_dbus/logo.png
+%{_datadir}/license/%{name}-tools
+%manifest %{name}-tools.manifest
index e84d4e3..d6ee7d8 100644 (file)
@@ -1383,13 +1383,12 @@ _on_cmd_service_ipv4_configure_manual(__UNUSED__ char *cmd, char *args)
    address = next_args;
    next_args = _tok(next_args);
    if (next_args)
-      netmask = next_args;
-
-   next_args = _tok(next_args);
-   if (next_args)
      {
-       gateway = next_args;
-       _tok(next_args);
+        netmask = next_args;
+
+        next_args = _tok(next_args);
+        gateway = next_args;
+        _tok(next_args);
      }
 
    e = e_connman_service_get(path);
index 094fd91..66c3773 100644 (file)
@@ -9,7 +9,9 @@
 #include <E_DBus.h>
 
 /**
+ * @internal
  * @defgroup EBluez_Group EBluez
+ * @ingroup EDbus_Group
  *
  * @{
  */
index 698cac4..4b34f3b 100644 (file)
@@ -62,7 +62,10 @@ _device_found_callback(void *data, DBusMessage *msg)
    value = e_bluez_element_iter_get_array(&itr, name);
 
    if (!value)
-      return;
+     {
+        free(device);
+        return;
+     }
 
    device->name = eina_stringshare_add(name);
    device->adapter = element;
index 06e879a..0f50768 100644 (file)
@@ -9,7 +9,9 @@
 #include <E_DBus.h>
 
 /**
+ * @internal
  * @defgroup EConnman_Group EConnman
+ * @ingroup EDbus_Group
  *
  * Currently supporting upstream API version 0.75 and later.
  *
index a1da3b5..2bbe7d6 100644 (file)
@@ -46,7 +46,8 @@
 #endif
 
 /**
- * @mainpage EDbus
+ * @internal
+ * @page EDbus
  *
  * @section edbus_intro_sec Introduction
  *
@@ -85,7 +86,9 @@
  */
 
 /**
+ * @internal
  * @defgroup EDbus_Group EDbus
+ * @ingroup EFL_Group
  *
  * @{
  */
@@ -141,6 +144,7 @@ extern "C" {
 
 /**
  * @brief Initialize e_dbus
+ *
  * @return 1 or greater on success, 0 otherwise
  *
  * This function sets up all the E_DBus library. It returns 0 on
@@ -154,6 +158,7 @@ EAPI int e_dbus_init(void);
 
 /**
  * Shutdown e_dbus.
+ *
  * @return 0 if e_dbus shuts down, greater than 0 otherwise.
  *
  * This function shuts down the E_DBus library. It returns 0 when it has
@@ -165,7 +170,8 @@ EAPI int e_dbus_shutdown(void);
 
 /**
  * Retrieve a connection to the bus and integrate it with the ecore main loop.
- * @param type the type of bus to connect to, e.g. DBUS_BUS_SYSTEM or DBUS_BUS_SESSION
+ *
+ * @param[in] type the type of bus to connect to, e.g. DBUS_BUS_SYSTEM or DBUS_BUS_SESSION
  */
 EAPI E_DBus_Connection *e_dbus_bus_get(DBusBusType type);
 
@@ -174,13 +180,14 @@ EAPI E_DBus_Connection *e_dbus_bus_get(DBusBusType type);
 /**
  * Integrate a DBus connection with the ecore main loop
  *
- * @param conn - a dbus connection
+ * @param[in] conn - a dbus connection
  */
 EAPI E_DBus_Connection *e_dbus_connection_setup(DBusConnection *conn);
 
 /**
  * Close out a connection retrieved with e_dbus_bus_get()
- * @param conn the connection to close
+ *
+ * @param[in] conn the connection to close
  */
 EAPI void e_dbus_connection_close(E_DBus_Connection *conn);
 
@@ -194,12 +201,14 @@ EAPI void e_dbus_connection_close(E_DBus_Connection *conn);
 /**
  * Add a method to an object
  *
- * @param iface the E_DBus_Interface to which this method belongs
- * @param member the name of the method
- * @param signature  an optional message signature. if provided, then messages
+ * @param[in] iface the E_DBus_Interface to which this method belongs
+ * @param[in] member the name of the method
+ * @param[in] signature  an optional message signature. if provided, then messages
  *                   with invalid signatures will be automatically rejected
  *                   (an Error response will be sent) and introspection data
  *                   will be available.
+ * @param[in] reply_signature an replay message signature
+ * @param[in] func the callback
  *
  * @return 1 if successful, 0 if failed (e.g. no memory)
  */
@@ -208,9 +217,9 @@ EAPI int e_dbus_interface_method_add(E_DBus_Interface *iface, const char *member
 /**
  * Add a signal to an object
  *
- * @param iface the E_DBus_Interface to which this signal belongs
- * @param name  the name of the signal
- * @param signature  an optional message signature.
+ * @param[in] iface the E_DBus_Interface to which this signal belongs
+ * @param[in] name  the name of the signal
+ * @param[in] signature  an optional message signature.
  *
  * @return 1 if successful, 0 if failed (e.g. no memory)
  */
@@ -219,9 +228,9 @@ EAPI int e_dbus_interface_signal_add(E_DBus_Interface *iface, const char *name,
 /**
  * Add a dbus object.
  *
- * @param conn the connection on with the object should listen
- * @param object_path a unique string identifying an object (e.g. org/enlightenment/WindowManager
- * @param data custom data to set on the object (retrievable via
+ * @param[in] conn the connection on with the object should listen
+ * @param[in] object_path a unique string identifying an object (e.g. org/enlightenment/WindowManager
+ * @param[in] data custom data to set on the object (retrievable via
  *             e_dbus_object_data_get())
  */
 EAPI E_DBus_Object *e_dbus_object_add(E_DBus_Connection *conn, const char *object_path, void *data);
@@ -229,45 +238,51 @@ EAPI E_DBus_Object *e_dbus_object_add(E_DBus_Connection *conn, const char *objec
 /**
  * Free a dbus object
  *
- * @param obj the object to free
+ * @param[in] obj the object to free
  */
 EAPI void e_dbus_object_free(E_DBus_Object *obj);
 
 /**
  * @brief Fetch the data pointer for a dbus object
- * @param obj the dbus object
+ *
+ * @param[in] obj the dbus object
  */
 EAPI void *e_dbus_object_data_get(E_DBus_Object *obj);
 
 /**
  * @brief Get the dbus connection of a dbus object
- * @param obj the dbus object
+ *
+ * @param[in] obj the dbus object
  */
 EAPI E_DBus_Connection *e_dbus_object_conn_get(E_DBus_Object *obj);
 
 /**
  * @brief Get the path of a dbus object
- * @param obj the dbus object
+ *
+ * @param[in] obj the dbus object
  */
 EAPI const char *e_dbus_object_path_get(E_DBus_Object *obj);
 
 /**
  * @brief Get the interfaces of a dbus object
- * @param obj the dbus object
+ *
+ * @param[in] obj the dbus object
  */
 EAPI const Eina_List *e_dbus_object_interfaces_get(E_DBus_Object *obj);
 
 /**
  * @brief Sets the callback to fetch properties from an object
- * @param obj the object
- * @param func the callback
+ *
+ * @param[in] obj the object
+ * @param[in] func the callback
  */
 EAPI void e_dbus_object_property_get_cb_set(E_DBus_Object *obj, E_DBus_Object_Property_Get_Cb func);
 
 /**
  * @brief Sets the callback to set properties on an object
- * @param obj the object
- * @param func the callback
+ *
+ * @param[in] obj the object
+ * @param[in] func the callback
  */
 EAPI void e_dbus_object_property_set_cb_set(E_DBus_Object *obj, E_DBus_Object_Property_Set_Cb func);
 
@@ -276,11 +291,12 @@ EAPI void e_dbus_object_property_set_cb_set(E_DBus_Object *obj, E_DBus_Object_Pr
 
 /**
  * @brief Send a DBus message with callbacks
- * @param conn The DBus connection
- * @param msg  The message to send
- * @param cb_return A callback function for returns (only used if @a msg is a method-call)
- * @param timeout   A timeout in milliseconds, after which a synthetic error will be generated
- * @param data custom data to pass in to the callback
+ *
+ * @param[in] conn The DBus connection
+ * @param[in] msg  The message to send
+ * @param[in] cb_return A callback function for returns (only used if @a msg is a method-call)
+ * @param[in] timeout   A timeout in milliseconds, after which a synthetic error will be generated
+ * @param[in] data custom data to pass in to the callback
  * @return a DBusPendingCall that can be used to cancel the current call
  */
 EAPI DBusPendingCall *e_dbus_message_send(E_DBus_Connection *conn, DBusMessage *msg, E_DBus_Method_Return_Cb cb_return, int timeout, void *data);
@@ -293,21 +309,21 @@ EAPI DBusPendingCall *e_dbus_message_send(E_DBus_Connection *conn, DBusMessage *
 /**
  * Add a signal handler
  *
- * @param conn the dbus connection
- * @param sender name of the signal's sender
- * @param path the object path of the signal's sender
- * @param interface the signal's interface
- * @param member the signal's name
- * @param cb_signal a callback to call when the signal is received
- * @param data custom data to pass in to the callback
+ * @param[in] conn the dbus connection
+ * @param[in] sender name of the signal's sender
+ * @param[in] path the object path of the signal's sender
+ * @param[in] interface the signal's interface
+ * @param[in] member the signal's name
+ * @param[in] cb_signal a callback to call when the signal is received
+ * @param[in] data custom data to pass in to the callback
  */
 EAPI E_DBus_Signal_Handler *e_dbus_signal_handler_add(E_DBus_Connection *conn, const char *sender, const char *path, const char *interface, const char *member, E_DBus_Signal_Cb cb_signal, void *data);
 
 /**
  * Delete a signal handler
  *
- * @param conn the dbus connection
- * @param sh the handler to delete
+ * @param[in] conn the dbus connection
+ * @param[in] sh the handler to delete
  */
 EAPI void e_dbus_signal_handler_del(E_DBus_Connection *conn, E_DBus_Signal_Handler *sh);
 
@@ -341,11 +357,12 @@ EAPI void e_dbus_signal_handler_del(E_DBus_Connection *conn, E_DBus_Signal_Handl
 
 /**
  * Calls the Introspect method on a given bus and object path.
- * @param conn The dbus connection to use
- * @param bus The bus to call the method on
- * @param object_path The path of the bus to call on
- * @param cb_return The callback to call on reply from dbus
- * @param data The data to associate with the callback
+ *
+ * @param[in] conn The dbus connection to use
+ * @param[in] bus The bus to call the method on
+ * @param[in] object_path The path of the bus to call on
+ * @param[in] cb_return The callback to call on reply from dbus
+ * @param[in] data The data to associate with the callback
  * @return A pending dbus call
  */
 EAPI DBusPendingCall *e_dbus_introspect(E_DBus_Connection *conn, const char *bus,
@@ -354,11 +371,11 @@ EAPI DBusPendingCall *e_dbus_introspect(E_DBus_Connection *conn, const char *bus
 /**
  * Ping the dbus peer
  *
- * @param conn the dbus connection
- * @param destination the bus name that the object is on
- * @param path the object path
- * @param cb_return a callback for a successful return
- * @param data data to pass to the callbacks
+ * @param[in] conn the dbus connection
+ * @param[in] destination the bus name that the object is on
+ * @param[in] path the object path
+ * @param[in] cb_return a callback for a successful return
+ * @param[in] data data to pass to the callbacks
  */
 EAPI DBusPendingCall *e_dbus_peer_ping(E_DBus_Connection *conn, const char *destination,
                                          const char *path, E_DBus_Method_Return_Cb cb_return,
@@ -367,11 +384,11 @@ EAPI DBusPendingCall *e_dbus_peer_ping(E_DBus_Connection *conn, const char *dest
 /**
  * Get the UUID of the peer
  *
- * @param conn the dbus connection
- * @param destination the bus name that the object is on
- * @param path the object path
- * @param cb_return a callback for a successful return
- * @param data data to pass to the callbacks
+ * @param[in] conn the dbus connection
+ * @param[in] destination the bus name that the object is on
+ * @param[in] path the object path
+ * @param[in] cb_return a callback for a successful return
+ * @param[in] data data to pass to the callbacks
  */
 EAPI DBusPendingCall *e_dbus_peer_get_machine_id(E_DBus_Connection *conn,
                                                    const char *destination, const char *path,
@@ -385,13 +402,13 @@ EAPI DBusPendingCall *e_dbus_peer_get_machine_id(E_DBus_Connection *conn,
 /**
  * Get the value of a property on an object
  *
- * @param conn the dbus connection
- * @param destination the bus name that the object is on
- * @param path the object path
- * @param interface the interface name of the property
- * @param property the name of the property
- * @param cb_return a callback for a successful return
- * @param data data to pass to the callbacks
+ * @param[in] conn the dbus connection
+ * @param[in] destination the bus name that the object is on
+ * @param[in] path the object path
+ * @param[in] interface the interface name of the property
+ * @param[in] property the name of the property
+ * @param[in] cb_return a callback for a successful return
+ * @param[in] data data to pass to the callbacks
  */
 EAPI DBusPendingCall *e_dbus_properties_get(E_DBus_Connection *conn, const char *destination,
                                               const char *path, const char *interface,
@@ -402,15 +419,15 @@ EAPI DBusPendingCall *e_dbus_properties_get(E_DBus_Connection *conn, const char
 /**
  * Set the value of a property on an object
  *
- * @param conn the dbus connection
- * @param destination the bus name that the object is on
- * @param path the object path
- * @param interface the interface name of the property
- * @param property the name of the property
- * @param value_type the type of the property's value
- * @param value a pointer to the value
- * @param cb_return a callback for a successful return
- * @param data data to pass to the callbacks
+ * @param[in] conn the dbus connection
+ * @param[in] destination the bus name that the object is on
+ * @param[in] path the object path
+ * @param[in] interface the interface name of the property
+ * @param[in] property the name of the property
+ * @param[in] value_type the type of the property's value
+ * @param[in] value a pointer to the value
+ * @param[in] cb_return a callback for a successful return
+ * @param[in] data data to pass to the callbacks
  */
 EAPI DBusPendingCall *e_dbus_properties_set(E_DBus_Connection *conn, const char *destination,
                                               const char *path, const char *interface,
@@ -421,14 +438,18 @@ EAPI DBusPendingCall *e_dbus_properties_set(E_DBus_Connection *conn, const char
 
 /**
  * @brief Create a callback structure
- * @param cb_func the callback function
- * @param user_data data to pass to the callback
+ *
+ * @param[in] cb_func the callback function
+ * @param[in] unmarshal_func the unmarshal function
+ * @param[in] free_func the free function
+ * @param[in] user_data data to pass to the callback
  */
 EAPI E_DBus_Callback *e_dbus_callback_new(E_DBus_Callback_Func cb_func, E_DBus_Unmarshal_Func unmarshal_func, E_DBus_Free_Func free_func, void *user_data);
 
 /**
  * @brief Free a callback structure
- * @param callback the callback to free
+ *
+ * @param[in] callback the callback to free
  */
 EAPI void e_dbus_callback_free(E_DBus_Callback *callback);
    EAPI void e_dbus_callback_call(E_DBus_Callback *cb, void *data, DBusError *error);
index 286e028..f8a6275 100644 (file)
@@ -118,8 +118,13 @@ EAPI DBusPendingCall *
 e_dbus_method_call_send(E_DBus_Connection *conn, DBusMessage *msg, E_DBus_Unmarshal_Func unmarshal_func, E_DBus_Callback_Func cb_func, E_DBus_Free_Func free_func, int timeout, void *data)
 {
   E_DBus_Callback *cb;
+  DBusPendingCall *ret = NULL;
 
   EINA_SAFETY_ON_NULL_RETURN_VAL(conn, NULL);
   cb = e_dbus_callback_new(cb_func, unmarshal_func, free_func, data);
-  return e_dbus_message_send(conn, msg, cb_method_call, timeout, cb);
+  ret = e_dbus_message_send(conn, msg, cb_method_call, timeout, cb);
+
+  e_dbus_callback_free(cb);
+
+  return ret;
 }
index a2ed8bf..0f59762 100644 (file)
@@ -161,6 +161,7 @@ e_dbus_signal_handler_add(E_DBus_Connection *conn, const char *sender, const cha
        data_cb->sh = sh;
        sh->get_name_owner_pending =
          e_dbus_get_name_owner(conn, sender, cb_name_owner, data_cb);
+       free(data_cb);
     }
   else if (sender) sh->owner = strdup(sender);
 
index ab86ebe..7501e40 100644 (file)
@@ -5,7 +5,9 @@
 #include <E_DBus.h>
 
 /**
+ * @internal
  * @defgroup EHal_Group EHal
+ * @ingroup EDbus_Group
  *
  * @{
  */
index 7fdf5c6..812eb73 100644 (file)
@@ -6,7 +6,9 @@
 #include <E_DBus.h>
 
 /**
+ * @internal
  * @defgroup ENotify_Group ENotify
+ * @ingroup EDbus_Group
  *
  * @{
  */
index be01e5e..d04994e 100644 (file)
@@ -38,7 +38,10 @@ method_notify(E_DBus_Object *obj, DBusMessage *message)
    if (ndaemon->func.notify)
      id = ndaemon->func.notify(ndaemon, n);
    else
-     return dbus_message_new_error(message, E_NOTIFICATION_INTERFACE ".Unimplemented", "This functionality has not yet been implemented");
+     {
+        e_notification_unref(n);
+        return dbus_message_new_error(message, E_NOTIFICATION_INTERFACE ".Unimplemented", "This functionality has not yet been implemented");
+     }
 
    e_notification_unref(n);
    return e_notify_marshal_notify_return(message, id);
index d96f74b..db8008a 100644 (file)
@@ -9,7 +9,9 @@
 #include <E_DBus.h>
 
 /**
+ * @internal
  * @defgroup EOfono_Group EOfono
+ * @ingroup EDbus_Group
  *
  * @{
  */
index de86b1d..9d65868 100644 (file)
@@ -5,7 +5,9 @@
 #include <E_DBus.h>
 
 /**
+ * @internal
  * @defgroup EUkit_Group EUkit
+ * @ingroup EDbus_Group
  *
  * @{
  */