From 16e05084dfe01fb29947615d27f9773ea7399f49 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Tim-Philipp=20M=C3=BCller?= Date: Wed, 28 Oct 2009 00:59:35 +0000 Subject: [PATCH] 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. --- gst/gdp/gstgdpdepay.c | 2 +- gst/gdp/gstgdppay.c | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/gst/gdp/gstgdpdepay.c b/gst/gdp/gstgdpdepay.c index 2669967..88ea6c0 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 f447dee..584e2ea 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", -- 2.7.4