Remove GST_DEBUG_FUNCPTR where they're pointless

There's not much point in using GST_DEBUG_FUNCPTR with GObject
virtual functions such as get_property, set_propery, finalize and
dispose, since they'll never be used by anyone anyway. Saves a
few bytes and possibly a sixteenth of a polar bear.
This commit is contained in:
Tim-Philipp Müller 2009-10-28 00:59:35 +00:00 committed by Sebastian Dröge
parent 141e06b547
commit d98dc4788c

View file

@ -378,8 +378,8 @@ gst_queue_class_init (GstQueueClass * klass)
parent_class = g_type_class_peek_parent (klass);
gobject_class->set_property = GST_DEBUG_FUNCPTR (gst_queue_set_property);
gobject_class->get_property = GST_DEBUG_FUNCPTR (gst_queue_get_property);
gobject_class->set_property = gst_queue_set_property;
gobject_class->get_property = gst_queue_get_property;
/* properties */
g_object_class_install_property (gobject_class, PROP_CUR_LEVEL_BYTES,
@ -448,7 +448,7 @@ gst_queue_class_init (GstQueueClass * klass)
gst_element_class_set_details (gstelement_class, &gst_queue_details);
/* set several parent class virtual functions */
gobject_class->finalize = GST_DEBUG_FUNCPTR (gst_queue_finalize);
gobject_class->finalize = gst_queue_finalize;
gstelement_class->change_state = GST_DEBUG_FUNCPTR (gst_queue_change_state);
}