[rygel] example plugins: The _construct() functions can be static
- From: Murray Cumming <murrayc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [rygel] example plugins: The _construct() functions can be static
- Date: Tue, 18 Dec 2012 09:44:31 +0000 (UTC)
commit fef200567f2c57ebea749a436ead3dc4cd270452
Author: Murray Cumming <murrayc murrayc com>
Date: Tue Dec 18 10:44:21 2012 +0100
example plugins: The _construct() functions can be static
.../renderer-plugins/C/example-renderer-plugin.c | 2 +-
examples/server-plugins/C/example-server-plugin.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/examples/renderer-plugins/C/example-renderer-plugin.c b/examples/renderer-plugins/C/example-renderer-plugin.c
index 26a72d5..b774d61 100644
--- a/examples/renderer-plugins/C/example-renderer-plugin.c
+++ b/examples/renderer-plugins/C/example-renderer-plugin.c
@@ -52,7 +52,7 @@ module_init (RygelPluginLoader* loader) {
}
-RygelExampleRendererPlugin*
+static RygelExampleRendererPlugin*
rygel_example_renderer_plugin_construct (GType object_type) {
RygelExampleRendererPlugin *self;
diff --git a/examples/server-plugins/C/example-server-plugin.c b/examples/server-plugins/C/example-server-plugin.c
index cc396eb..eb85641 100644
--- a/examples/server-plugins/C/example-server-plugin.c
+++ b/examples/server-plugins/C/example-server-plugin.c
@@ -50,7 +50,7 @@ module_init (RygelPluginLoader* loader) {
}
-RygelExampleServerPlugin*
+static RygelExampleServerPlugin*
rygel_example_server_plugin_construct (GType object_type) {
RygelExampleServerPlugin *self;
RygelExampleRootContainer *root_container;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]