summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFelipe Contreras <felipe.contreras@nokia.com>2010-03-04 00:30:10 +0200
committerFelipe Contreras <felipe.contreras@nokia.com>2010-03-08 21:13:16 +0200
commit58d04c3dd04274cb81f1e42db2b30ae76acdf437 (patch)
treede731d8f6662f8605aabf626dc0d2b8ffdecacd5
parent4d2c9f38379c2b69587ac4093b76db975ca46bc6 (diff)
base: remove unused set_property()
No more writeable properties. Signed-off-by: Felipe Contreras <felipe.contreras@nokia.com>
-rw-r--r--omx/gstomx_base_sink.c19
-rw-r--r--omx/gstomx_base_src.c19
2 files changed, 0 insertions, 38 deletions
diff --git a/omx/gstomx_base_sink.c b/omx/gstomx_base_sink.c
index b042f33..68c7ea7 100644
--- a/omx/gstomx_base_sink.c
+++ b/omx/gstomx_base_sink.c
@@ -284,24 +284,6 @@ handle_event (GstBaseSink *gst_base,
}
static void
-set_property (GObject *obj,
- guint prop_id,
- const GValue *value,
- GParamSpec *pspec)
-{
- GstOmxBaseSink *self;
-
- self = GST_OMX_BASE_SINK (obj);
-
- switch (prop_id)
- {
- default:
- G_OBJECT_WARN_INVALID_PROPERTY_ID (obj, prop_id, pspec);
- break;
- }
-}
-
-static void
get_property (GObject *obj,
guint prop_id,
GValue *value,
@@ -349,7 +331,6 @@ type_class_init (gpointer g_class,
/* Properties stuff */
{
- gobject_class->set_property = set_property;
gobject_class->get_property = get_property;
g_object_class_install_property (gobject_class, ARG_COMPONENT_NAME,
diff --git a/omx/gstomx_base_src.c b/omx/gstomx_base_src.c
index bd25c6d..bae9f55 100644
--- a/omx/gstomx_base_src.c
+++ b/omx/gstomx_base_src.c
@@ -348,24 +348,6 @@ handle_event (GstBaseSrc *gst_base,
}
static void
-set_property (GObject *obj,
- guint prop_id,
- const GValue *value,
- GParamSpec *pspec)
-{
- GstOmxBaseSrc *self;
-
- self = GST_OMX_BASE_SRC (obj);
-
- switch (prop_id)
- {
- default:
- G_OBJECT_WARN_INVALID_PROPERTY_ID (obj, prop_id, pspec);
- break;
- }
-}
-
-static void
get_property (GObject *obj,
guint prop_id,
GValue *value,
@@ -410,7 +392,6 @@ type_class_init (gpointer g_class,
/* Properties stuff */
{
- gobject_class->set_property = set_property;
gobject_class->get_property = get_property;
g_object_class_install_property (gobject_class, ARG_COMPONENT_NAME,