From d20e30f3481be0d7610093da549707a2a6749f46 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tim-Philipp=20M=C3=BCller?= Date: Tue, 3 Nov 2009 18:11:13 +0100 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. Merged from gst-plugins-base, 6f4c1ac58341ee189225d313ddfe9ae24a65c88c. --- gst/selector/gstinputselector.c | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/gst/selector/gstinputselector.c b/gst/selector/gstinputselector.c index c3148d1dbf..046470c410 100644 --- a/gst/selector/gstinputselector.c +++ b/gst/selector/gstinputselector.c @@ -190,10 +190,8 @@ gst_selector_pad_class_init (GstSelectorPadClass * klass) gobject_class->finalize = gst_selector_pad_finalize; - gobject_class->get_property = - GST_DEBUG_FUNCPTR (gst_selector_pad_get_property); - gobject_class->set_property = - GST_DEBUG_FUNCPTR (gst_selector_pad_set_property); + gobject_class->get_property = gst_selector_pad_get_property; + gobject_class->set_property = gst_selector_pad_set_property; g_object_class_install_property (gobject_class, PROP_PAD_RUNNING_TIME, g_param_spec_int64 ("running-time", "Running time", @@ -763,10 +761,8 @@ gst_input_selector_class_init (GstInputSelectorClass * klass) gobject_class->dispose = gst_input_selector_dispose; - gobject_class->set_property = - GST_DEBUG_FUNCPTR (gst_input_selector_set_property); - gobject_class->get_property = - GST_DEBUG_FUNCPTR (gst_input_selector_get_property); + gobject_class->set_property = gst_input_selector_set_property; + gobject_class->get_property = gst_input_selector_get_property; g_object_class_install_property (gobject_class, PROP_N_PADS, g_param_spec_uint ("n-pads", "Number of Pads",