[rygel-gst-0-10-media-engine] Make a vfunc implementation static
- From: Murray Cumming <murrayc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [rygel-gst-0-10-media-engine] Make a vfunc implementation static
- Date: Mon, 7 Jan 2013 08:45:39 +0000 (UTC)
commit 72613545f345676c08f12e2942ab92a30903cd8f
Author: Murray Cumming <murrayc murrayc com>
Date: Mon Jan 7 09:45:33 2013 +0100
Make a vfunc implementation static
src/rygel-gst-data-source.h | 2 +-
src/rygel-gst-media-engine.c | 2 +-
src/rygel-gst-media-engine.h | 2 --
3 files changed, 2 insertions(+), 4 deletions(-)
---
diff --git a/src/rygel-gst-data-source.h b/src/rygel-gst-data-source.h
index fe207d1..6db2c06 100644
--- a/src/rygel-gst-data-source.h
+++ b/src/rygel-gst-data-source.h
@@ -47,7 +47,7 @@ typedef struct _RygelGstDataSourcePrivate RygelGstDataSourcePrivate;
struct _RygelGstDataSource {
GObject parent_instance;
RygelGstDataSourcePrivate *priv;
- GstElement* src;
+ GstElement* src; //TODO: Move this to priv?
};
struct _RygelGstDataSourceClass {
diff --git a/src/rygel-gst-media-engine.c b/src/rygel-gst-media-engine.c
index fa0471e..0fb2c8c 100644
--- a/src/rygel-gst-media-engine.c
+++ b/src/rygel-gst-media-engine.c
@@ -167,7 +167,7 @@ rygel_gst_media_engine_real_create_data_source (RygelMediaEngine *base, const gc
}
-RygelDataSource*
+static RygelDataSource*
rygel_gst_media_engine_create_data_source_from_element (RygelGstMediaEngine *self, GstElement *element) {
RygelDataSource *result = NULL;
GError *error = NULL;
diff --git a/src/rygel-gst-media-engine.h b/src/rygel-gst-media-engine.h
index 936f9df..8d07dd9 100644
--- a/src/rygel-gst-media-engine.h
+++ b/src/rygel-gst-media-engine.h
@@ -58,8 +58,6 @@ GType rygel_gst_media_engine_get_type (void) G_GNUC_CONST;
RygelGstMediaEngine* rygel_gst_media_engine_new (void);
-RygelDataSource* rygel_gst_media_engine_create_data_source_from_element (RygelGstMediaEngine* self, GstElement* element);
-
RygelMediaEngine* module_get_instance (void);
G_END_DECLS
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]