From: Tim-Philipp Müller Date: Wed, 28 Oct 2009 00:59:35 +0000 (+0000) Subject: Remove GST_DEBUG_FUNCPTR where they're pointless X-Git-Tag: 1.19.3~507^2~15077 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=16e05084dfe01fb29947615d27f9773ea7399f49;p=platform%2Fupstream%2Fgstreamer.git 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. --- diff --git a/gst/gdp/gstgdpdepay.c b/gst/gdp/gstgdpdepay.c index 2669967d16..88ea6c0cf8 100644 --- a/gst/gdp/gstgdpdepay.c +++ b/gst/gdp/gstgdpdepay.c @@ -110,7 +110,7 @@ gst_gdp_depay_class_init (GstGDPDepayClass * klass) gstelement_class->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 diff --git a/gst/gdp/gstgdppay.c b/gst/gdp/gstgdppay.c index f447deec83..584e2ea512 100644 --- a/gst/gdp/gstgdppay.c +++ b/gst/gdp/gstgdppay.c @@ -122,9 +122,9 @@ gst_gdp_pay_class_init (GstGDPPayClass * klass) gobject_class = (GObjectClass *) klass; gstelement_class = (GstElementClass *) klass; - gobject_class->set_property = GST_DEBUG_FUNCPTR (gst_gdp_pay_set_property); - gobject_class->get_property = GST_DEBUG_FUNCPTR (gst_gdp_pay_get_property); - gobject_class->finalize = GST_DEBUG_FUNCPTR (gst_gdp_pay_finalize); + gobject_class->set_property = gst_gdp_pay_set_property; + gobject_class->get_property = gst_gdp_pay_get_property; + gobject_class->finalize = gst_gdp_pay_finalize; g_object_class_install_property (gobject_class, PROP_CRC_HEADER, g_param_spec_boolean ("crc-header", "CRC Header",