From: Thomas V. S. <tho...@us...> - 2002-08-13 13:32:35
|
CVS Root: /cvsroot/gstreamer Module: gst-template Changes by: thomasvs Date: Tue Aug 13 2002 06:32:33 PDT Log message: small fixup hey guys, test this Modified files: gst-plugin/src : gstplugin.c gstplugin.h Links: http://cvs.sf.net/cgi-bin/viewcvs.cgi/gstreamer/gst-template/gst-plugin/src/gstplugin.c.diff?r1=1.2&r2=1.3 http://cvs.sf.net/cgi-bin/viewcvs.cgi/gstreamer/gst-template/gst-plugin/src/gstplugin.h.diff?r1=1.2&r2=1.3 ====Begin Diffs==== Index: gstplugin.c =================================================================== RCS file: /cvsroot/gstreamer/gst-template/gst-plugin/src/gstplugin.c,v retrieving revision 1.2 retrieving revision 1.3 diff -u -d -r1.2 -r1.3 --- gstplugin.c 6 Aug 2002 09:22:34 -0000 1.2 +++ gstplugin.c 13 Aug 2002 13:32:20 -0000 1.3 @@ -146,8 +146,8 @@ 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 @@ 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; Index: gstplugin.h =================================================================== RCS file: /cvsroot/gstreamer/gst-template/gst-plugin/src/gstplugin.h,v retrieving revision 1.2 retrieving revision 1.3 diff -u -d -r1.2 -r1.3 --- gstplugin.h 6 Aug 2002 09:22:34 -0000 1.2 +++ gstplugin.h 13 Aug 2002 13:32:20 -0000 1.3 @@ -13,7 +13,7 @@ /* #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) \ |