summaryrefslogtreecommitdiff
path: root/gst-plugin/src/gstplugin.c
diff options
context:
space:
mode:
authorThomas Vander Stichele <thomas@apestaart.org>2002-08-13 13:32:20 +0000
committerThomas Vander Stichele <thomas@apestaart.org>2002-08-13 13:32:20 +0000
commitad62c949d59d2cb1197c6ecee96423f1010f364d (patch)
tree1f51765a71781c1cc0c995159294452e3f827a54 /gst-plugin/src/gstplugin.c
parent2e94e2aa8df1597968d33c715130e154f432434f (diff)
small fixup hey guys, test this
Original commit message from CVS: small fixup hey guys, test this
Diffstat (limited to 'gst-plugin/src/gstplugin.c')
-rw-r--r--gst-plugin/src/gstplugin.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/gst-plugin/src/gstplugin.c b/gst-plugin/src/gstplugin.c
index fe312d5..7be3a3d 100644
--- a/gst-plugin/src/gstplugin.c
+++ b/gst-plugin/src/gstplugin.c
@@ -146,8 +146,8 @@ plugin_template_class_init (GstPluginTemplateClass *klass)
parent_class = g_type_class_ref (GST_TYPE_ELEMENT);
- g_object_class_install_property (G_OBJECT_CLASS (klass), ARG_SILENT,
- g_param_spec_boolean ("silent", "silent", "silent",
+ g_object_class_install_property (gobject_class, ARG_SILENT,
+ g_param_spec_boolean ("silent", "Silent", "Produce verbose output ?",
FALSE, G_PARAM_READWRITE));
gobject_class->set_property = plugin_template_set_property;
@@ -233,6 +233,7 @@ plugin_template_get_property (GObject *object, guint prop_id,
switch (prop_id) {
case ARG_SILENT:
g_value_set_boolean (value, filter->silent);
+ break;
default:
G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec);
break;