diff options
author | Tim-Philipp Müller <tim@centricular.net> | 2006-01-23 21:01:31 +0000 |
---|---|---|
committer | Tim-Philipp Müller <tim@centricular.net> | 2006-01-23 21:01:31 +0000 |
commit | d658c57f0048459b7a26ac1024c6aedb5676f46f (patch) | |
tree | 68a466e8738f53bfa61f4c5f3fcf4e6aa854bcae /gst-plugin | |
parent | 2d1b4f02947676efd3ec98a10b4a819ed00d21fa (diff) |
src/gstplugin.h: FOO_BAR_CLASS(klass) should cast to FooBarClass*, not FooBar*.
Original commit message from CVS:
* src/gstplugin.h:
FOO_BAR_CLASS(klass) should cast to FooBarClass*,
not FooBar*.
Diffstat (limited to 'gst-plugin')
-rw-r--r-- | gst-plugin/ChangeLog | 6 | ||||
-rw-r--r-- | gst-plugin/src/gstplugin.h | 2 |
2 files changed, 7 insertions, 1 deletions
diff --git a/gst-plugin/ChangeLog b/gst-plugin/ChangeLog index e28d385..09334b2 100644 --- a/gst-plugin/ChangeLog +++ b/gst-plugin/ChangeLog @@ -1,3 +1,9 @@ +2006-01-23 Tim-Philipp Müller <tim at centricular dot net> + + * src/gstplugin.h: + FOO_BAR_CLASS(klass) should cast to FooBarClass*, + not FooBar*. + 2006-01-13 Thomas Vander Stichele <thomas at apestaart dot org> * autogen.sh: diff --git a/gst-plugin/src/gstplugin.h b/gst-plugin/src/gstplugin.h index 3076546..3b744bd 100644 --- a/gst-plugin/src/gstplugin.h +++ b/gst-plugin/src/gstplugin.h @@ -53,7 +53,7 @@ G_BEGIN_DECLS #define GST_PLUGIN_TEMPLATE(obj) \ (G_TYPE_CHECK_INSTANCE_CAST((obj),GST_TYPE_PLUGIN_TEMPLATE,GstPluginTemplate)) #define GST_PLUGIN_TEMPLATE_CLASS(klass) \ - (G_TYPE_CHECK_CLASS_CAST((klass),GST_TYPE_PLUGIN_TEMPLATE,GstPluginTemplate)) + (G_TYPE_CHECK_CLASS_CAST((klass),GST_TYPE_PLUGIN_TEMPLATE,GstPluginTemplateClass)) #define GST_IS_PLUGIN_TEMPLATE(obj) \ (G_TYPE_CHECK_INSTANCE_TYPE((obj),GST_TYPE_PLUGIN_TEMPLATE)) #define GST_IS_PLUGIN_TEMPLATE_CLASS(klass) \ |