From 2df67f9da0705ae4f29e98832aec6d0762b7d73c Mon Sep 17 00:00:00 2001 From: Thiago Santos Date: Sat, 1 Aug 2015 11:51:22 -0300 Subject: [PATCH] templatematch: revert rename of property The property doesn't need to have its name changed because of C++, just the instance variables. --- ext/opencv/gsttemplatematch.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext/opencv/gsttemplatematch.c b/ext/opencv/gsttemplatematch.c index 35f495ce49..21d8cd4015 100644 --- a/ext/opencv/gsttemplatematch.c +++ b/ext/opencv/gsttemplatematch.c @@ -140,7 +140,7 @@ gst_template_match_class_init (GstTemplateMatchClass * klass) "Specifies the way the template must be compared with image regions. 0=SQDIFF, 1=SQDIFF_NORMED, 2=CCOR, 3=CCOR_NORMED, 4=CCOEFF, 5=CCOEFF_NORMED.", 0, 5, DEFAULT_METHOD, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); g_object_class_install_property (gobject_class, PROP_TEMPLATE, - g_param_spec_string ("templ", "Template", "Filename of template image", + g_param_spec_string ("template", "Template", "Filename of template image", NULL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); g_object_class_install_property (gobject_class, PROP_DISPLAY, g_param_spec_boolean ("display", "Display", -- 2.34.1