summaryrefslogtreecommitdiff
path: root/gst/gstpadtemplate.c
diff options
context:
space:
mode:
authorStefan Kost <ensonic@users.sourceforge.net>2006-04-08 20:57:31 +0000
committerStefan Kost <ensonic@users.sourceforge.net>2006-04-08 20:57:31 +0000
commit77a56957181542ebd67bb5777903b37987bb2036 (patch)
tree0c8a24c049cb3cb794c15607e7a9e218ef7cdc76 /gst/gstpadtemplate.c
parented95eff8a1cf986e9a2c58119f8a4b30627cb2b1 (diff)
Fix #337365 (g_type_class_ref <-> g_type_class_peek_parent)
Original commit message from CVS: * gst/gstbuffer.c: (gst_subbuffer_class_init): * gst/gstclock.c: (gst_clock_class_init): * gst/gstelement.c: (gst_element_class_init): * gst/gstindex.c: (gst_index_class_init): * gst/gstindexfactory.c: (gst_index_factory_class_init): * gst/gstobject.c: (gst_object_class_init), (gst_signal_object_class_init): * gst/gstpad.c: (gst_pad_class_init): * gst/gstpadtemplate.c: (gst_pad_template_class_init): * gst/gstpluginfeature.c: (gst_plugin_feature_class_init): * gst/gstregistry.c: (gst_registry_class_init): * gst/gstsystemclock.c: (gst_system_clock_class_init): * gst/gsttask.c: (gst_task_class_init): * gst/gstxml.c: (gst_xml_class_init): * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init): * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init), (gst_base_src_loop): * libs/gst/controller/gstcontroller.c: (_gst_controller_class_init): * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init): * plugins/indexers/gstfileindex.c: (gst_file_index_class_init): * plugins/indexers/gstmemindex.c: (gst_mem_index_class_init): * tests/old/examples/plugins/example.c: (gst_example_class_init): * tests/old/testsuite/threads/signals.c: (gst_test_class_init): Fix #337365 (g_type_class_ref <-> g_type_class_peek_parent)
Diffstat (limited to 'gst/gstpadtemplate.c')
-rw-r--r--gst/gstpadtemplate.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gst/gstpadtemplate.c b/gst/gstpadtemplate.c
index 9c816656b..42a027fbc 100644
--- a/gst/gstpadtemplate.c
+++ b/gst/gstpadtemplate.c
@@ -153,7 +153,7 @@ gst_pad_template_class_init (GstPadTemplateClass * klass)
gobject_class = (GObjectClass *) klass;
gstobject_class = (GstObjectClass *) klass;
- parent_class = g_type_class_ref (GST_TYPE_OBJECT);
+ parent_class = g_type_class_peek_parent (klass);
/**
* GstPadTemplate::pad-created: