mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-23 18:21:04 +00:00
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:
parent
5a1492dc0b
commit
16e05084df
2 changed files with 4 additions and 4 deletions
|
@ -110,7 +110,7 @@ gst_gdp_depay_class_init (GstGDPDepayClass * klass)
|
||||||
|
|
||||||
gstelement_class->change_state =
|
gstelement_class->change_state =
|
||||||
GST_DEBUG_FUNCPTR (gst_gdp_depay_change_state);
|
GST_DEBUG_FUNCPTR (gst_gdp_depay_change_state);
|
||||||
gobject_class->finalize = GST_DEBUG_FUNCPTR (gst_gdp_depay_finalize);
|
gobject_class->finalize = gst_gdp_depay_finalize;
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
|
|
|
@ -122,9 +122,9 @@ gst_gdp_pay_class_init (GstGDPPayClass * klass)
|
||||||
gobject_class = (GObjectClass *) klass;
|
gobject_class = (GObjectClass *) klass;
|
||||||
gstelement_class = (GstElementClass *) klass;
|
gstelement_class = (GstElementClass *) klass;
|
||||||
|
|
||||||
gobject_class->set_property = GST_DEBUG_FUNCPTR (gst_gdp_pay_set_property);
|
gobject_class->set_property = gst_gdp_pay_set_property;
|
||||||
gobject_class->get_property = GST_DEBUG_FUNCPTR (gst_gdp_pay_get_property);
|
gobject_class->get_property = gst_gdp_pay_get_property;
|
||||||
gobject_class->finalize = GST_DEBUG_FUNCPTR (gst_gdp_pay_finalize);
|
gobject_class->finalize = gst_gdp_pay_finalize;
|
||||||
|
|
||||||
g_object_class_install_property (gobject_class, PROP_CRC_HEADER,
|
g_object_class_install_property (gobject_class, PROP_CRC_HEADER,
|
||||||
g_param_spec_boolean ("crc-header", "CRC Header",
|
g_param_spec_boolean ("crc-header", "CRC Header",
|
||||||
|
|
Loading…
Reference in a new issue