Fix crash when calling g_dbus_remove_watch from watch callback
[connman] / doc / plugin-api.txt
index f8dded0..696e2c1 100644 (file)
@@ -1,8 +1,10 @@
 Plugin programming interface
 ****************************
 
+
 Plugin basics
 =============
+
 The Connection Manager supports plugins for various actions. The basic plugin
 contains of plugin description via CONNMAN_PLUGIN_DEFINE and also init/exit
 callbacks definied through that description.
@@ -18,5 +20,5 @@ static void example_exit(void)
 {
 }
 
-CONNMAN_PLUGIN_DEFINE("example", "Example plugin", VERSION,
+CONNMAN_PLUGIN_DEFINE(example, "Example plugin", CONNMAN_VERSION,
                                                example_init, example_exit)