ecore-evas-x: Fix issue of wrong interface function pointer being set
authorChris Michael <cp.michael@samsung.com>
Mon, 20 Apr 2015 16:56:46 +0000 (12:56 -0400)
committerChris Michael <cp.michael@samsung.com>
Mon, 20 Apr 2015 16:58:42 +0000 (12:58 -0400)
Summary: This fixes Coverity CID1267461 where the pointer to the
interface shape_input_reset function was being assigned multiple
times. It looks like this is just a copy/paste error.

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
src/modules/ecore_evas/engines/x/ecore_evas_x.c

index 2d9c8f9aca9e87de6421f2b372b8c858b5969d3f..2d77b1335f9dbe7af8a972f43b14c6888355c238 100644 (file)
@@ -5011,7 +5011,7 @@ _ecore_evas_x_interface_x11_new(void)
    iface->shape_input_rectangle_subtract = _ecore_evas_x11_shape_input_rectangle_subtract;
    iface->shape_input_empty = _ecore_evas_x11_shape_input_empty;
    iface->shape_input_reset = _ecore_evas_x11_shape_input_reset;
-   iface->shape_input_reset = _ecore_evas_x11_shape_input_apply;
+   iface->shape_input_apply = _ecore_evas_x11_shape_input_apply;
 
    return iface;
 }