diff options
author | Wim Taymans <wim.taymans@collabora.co.uk> | 2011-10-16 14:17:25 +0200 |
---|---|---|
committer | Wim Taymans <wim.taymans@collabora.co.uk> | 2011-10-16 14:19:36 +0200 |
commit | 2f09c5a9c5924b0b4e14d8e7953de91fcc5e23c3 (patch) | |
tree | 12030d13641c93aff175386839dcef99c8866d14 /gst/gstpadtemplate.c | |
parent | 65a7c66053d834d3d1ba923da14a6ab55a1be0f8 (diff) |
padtemplate: clean up parent_class
Diffstat (limited to 'gst/gstpadtemplate.c')
-rw-r--r-- | gst/gstpadtemplate.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/gst/gstpadtemplate.c b/gst/gstpadtemplate.c index 86251b0fa..d023bd0f2 100644 --- a/gst/gstpadtemplate.c +++ b/gst/gstpadtemplate.c @@ -123,7 +123,6 @@ enum LAST_SIGNAL }; -static GstObject *parent_class = NULL; static guint gst_pad_template_signals[LAST_SIGNAL] = { 0 }; static void gst_pad_template_dispose (GObject * object); @@ -132,6 +131,7 @@ static void gst_pad_template_set_property (GObject * object, guint prop_id, static void gst_pad_template_get_property (GObject * object, guint prop_id, GValue * value, GParamSpec * pspec); +#define gst_pad_template_parent_class parent_class G_DEFINE_TYPE (GstPadTemplate, gst_pad_template, GST_TYPE_OBJECT); static void @@ -143,8 +143,6 @@ gst_pad_template_class_init (GstPadTemplateClass * klass) gobject_class = (GObjectClass *) klass; gstobject_class = (GstObjectClass *) klass; - parent_class = g_type_class_peek_parent (klass); - /** * GstPadTemplate::pad-created: * @pad_template: the object which received the signal. |