From 5b3deecab9d9a2dbb397aec1e7a4f1d70f37ff1b Mon Sep 17 00:00:00 2001 From: Thiago Santos Date: Tue, 30 Nov 2010 20:15:47 -0300 Subject: [PATCH] camerabin2: Fix set/get property function names Add more consistency to the function names by using gst_camera_bin as the other functions. --- gst/camerabin2/gstcamerabin2.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/gst/camerabin2/gstcamerabin2.c b/gst/camerabin2/gstcamerabin2.c index a127622..0c0024f 100644 --- a/gst/camerabin2/gstcamerabin2.c +++ b/gst/camerabin2/gstcamerabin2.c @@ -115,9 +115,9 @@ gst_camera_bin_get_type (void) } /* GObject class functions */ -static void gst_camerabin_set_property (GObject * object, guint prop_id, +static void gst_camera_bin_set_property (GObject * object, guint prop_id, const GValue * value, GParamSpec * pspec); -static void gst_camerabin_get_property (GObject * object, guint prop_id, +static void gst_camera_bin_get_property (GObject * object, guint prop_id, GValue * value, GParamSpec * pspec); /* Element class functions */ @@ -214,8 +214,8 @@ gst_camera_bin_class_init (GstCameraBinClass * klass) object_class->dispose = gst_camera_bin_dispose; object_class->finalize = gst_camera_bin_finalize; - object_class->set_property = gst_camerabin_set_property; - object_class->get_property = gst_camerabin_get_property; + object_class->set_property = gst_camera_bin_set_property; + object_class->get_property = gst_camera_bin_get_property; element_class->change_state = GST_DEBUG_FUNCPTR (gst_camera_bin_change_state); @@ -367,7 +367,7 @@ gst_camera_bin_change_state (GstElement * element, GstStateChange trans) } static void -gst_camerabin_set_property (GObject * object, guint prop_id, +gst_camera_bin_set_property (GObject * object, guint prop_id, const GValue * value, GParamSpec * pspec) { GstCameraBin *camera = GST_CAMERA_BIN_CAST (object); @@ -383,7 +383,7 @@ gst_camerabin_set_property (GObject * object, guint prop_id, } static void -gst_camerabin_get_property (GObject * object, guint prop_id, +gst_camera_bin_get_property (GObject * object, guint prop_id, GValue * value, GParamSpec * pspec) { GstCameraBin *camera = GST_CAMERA_BIN_CAST (object); -- 2.7.4