[at-spi2-core] Fix a compiler warning



commit 1dd6a3c4fbc529dff4c58cc278b0997689c08d35
Author: Mike Gorse <mgorse suse com>
Date:   Wed Aug 19 11:23:25 2020 -0500

    Fix a compiler warning

 atspi/atspi-accessible.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/atspi/atspi-accessible.c b/atspi/atspi-accessible.c
index d1f25893..103e2da6 100644
--- a/atspi/atspi-accessible.c
+++ b/atspi/atspi-accessible.c
@@ -188,7 +188,7 @@ atspi_accessible_init (AtspiAccessible *accessible)
 
   accessible->priv = atspi_accessible_get_instance_private (accessible);
 
-  accessible->children = g_ptr_array_new_with_free_func (atspi_accessible_unref);
+  accessible->children = g_ptr_array_new_with_free_func ((GDestroyNotify) atspi_accessible_unref);
 }
 
 static void


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]