summaryrefslogtreecommitdiff
path: root/gst-plugin/src
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
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')
-rw-r--r--gst-plugin/src/gstplugin.c5
-rw-r--r--gst-plugin/src/gstplugin.h2
2 files changed, 4 insertions, 3 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;
diff --git a/gst-plugin/src/gstplugin.h b/gst-plugin/src/gstplugin.h
index 57b15b3..a920a26 100644
--- a/gst-plugin/src/gstplugin.h
+++ b/gst-plugin/src/gstplugin.h
@@ -13,7 +13,7 @@ extern "C" {
/* #define's don't like whitespacey bits */
#define GST_TYPE_PLUGIN_TEMPLATE \
- (gst_plugin_get_type())
+ (gst_plugin_template_get_type())
#define GST_PLUGIN_TEMPLATE(obj) \
(G_TYPE_CHECK_INSTANCE_CAST((obj),GST_TYPE_PLUGIN_TEMPLATE,GstPluginTemplate))
#define GST_PLUGIN_TEMPLATE_CLASS(klass) \