diff options
author | Jan Schmidt <thaytan@mad.scientist.com> | 2005-12-16 12:16:09 +0000 |
---|---|---|
committer | Jan Schmidt <thaytan@mad.scientist.com> | 2005-12-16 12:16:09 +0000 |
commit | aa375c19225045c8fb75d610149daba10454a8e5 (patch) | |
tree | b746e06df07d531dd3e55ccaf71a146456349155 /gst-plugin/src/gstplugin.c | |
parent | 1ad67eed9695b4fe44d654079500a0c61fa8edd0 (diff) |
src/gstplugin.c: Need to have the set_property and get_property methods before installing properties
Original commit message from CVS:
* src/gstplugin.c: (gst_plugin_template_class_init):
Need to have the set_property and get_property methods
before installing properties
Diffstat (limited to 'gst-plugin/src/gstplugin.c')
-rw-r--r-- | gst-plugin/src/gstplugin.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gst-plugin/src/gstplugin.c b/gst-plugin/src/gstplugin.c index 0402716..86b6090 100644 --- a/gst-plugin/src/gstplugin.c +++ b/gst-plugin/src/gstplugin.c @@ -164,12 +164,12 @@ gst_plugin_template_class_init (GstPluginTemplateClass *klass) parent_class = g_type_class_ref (GST_TYPE_ELEMENT); + gobject_class->set_property = gst_plugin_template_set_property; + gobject_class->get_property = gst_plugin_template_get_property; + 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 = gst_plugin_template_set_property; - gobject_class->get_property = gst_plugin_template_get_property; } /* initialize the new element |