This is an automated email from the git hooks/post-receive script.

nomad pushed a 
commit to branch 
master
in repository apps/xfdashboard.

commit 063a27ac17f08449c548432f2d1660895d400604
Author: Stephan Haller <no...@froevel.de>
Date:   Wed Aug 21 14:37:12 2019 +0200

    Silence compiler warning at libxfdashboard/stage.c
---
 libxfdashboard/stage.c | 18 ++++++------------
 1 file changed, 6 insertions(+), 12 deletions(-)

diff --git a/libxfdashboard/stage.c b/libxfdashboard/stage.c
index 504d945..cbca412 100644
--- a/libxfdashboard/stage.c
+++ b/libxfdashboard/stage.c
@@ -951,8 +951,7 @@ static void 
_xfdashboard_stage_on_application_theme_changed(XfdashboardStage *se
 
                                        /* Release allocated resources */
                                        
_xfdashboard_stage_theme_interface_data_free(interface);
-                                       g_list_foreach(interfaces, 
(GFunc)_xfdashboard_stage_theme_interface_data_free, NULL);
-                                       g_list_free(interfaces);
+                                       g_list_free_full(interfaces, 
(GDestroyNotify)_xfdashboard_stage_theme_interface_data_free);
 
                                        return;
                                }
@@ -966,8 +965,7 @@ static void 
_xfdashboard_stage_on_application_theme_changed(XfdashboardStage *se
 
                                        /* Release allocated resources */
                                        
_xfdashboard_stage_theme_interface_data_free(interface);
-                                       g_list_foreach(interfaces, 
(GFunc)_xfdashboard_stage_theme_interface_data_free, NULL);
-                                       g_list_free(interfaces);
+                                       g_list_free_full(interfaces, 
(GDestroyNotify)_xfdashboard_stage_theme_interface_data_free);
 
                                        return;
                                }
@@ -997,8 +995,7 @@ static void 
_xfdashboard_stage_on_application_theme_changed(XfdashboardStage *se
 
                                                /* Release allocated resources 
*/
                                                
_xfdashboard_stage_theme_interface_data_free(interface);
-                                               g_list_foreach(interfaces, 
(GFunc)_xfdashboard_stage_theme_interface_data_free, NULL);
-                                               g_list_free(interfaces);
+                                               g_list_free_full(interfaces, 
(GDestroyNotify)_xfdashboard_stage_theme_interface_data_free);
 
                                                return;
                                        }
@@ -1031,8 +1028,7 @@ static void 
_xfdashboard_stage_on_application_theme_changed(XfdashboardStage *se
 
                                /* Release allocated resources */
                                
_xfdashboard_stage_theme_interface_data_free(interface);
-                               g_list_foreach(interfaces, 
(GFunc)_xfdashboard_stage_theme_interface_data_free, NULL);
-                               g_list_free(interfaces);
+                               g_list_free_full(interfaces, 
(GDestroyNotify)_xfdashboard_stage_theme_interface_data_free);
 
                                return;
                        }
@@ -1046,8 +1042,7 @@ static void 
_xfdashboard_stage_on_application_theme_changed(XfdashboardStage *se
 
                                /* Release allocated resources */
                                
_xfdashboard_stage_theme_interface_data_free(interface);
-                               g_list_foreach(interfaces, 
(GFunc)_xfdashboard_stage_theme_interface_data_free, NULL);
-                               g_list_free(interfaces);
+                               g_list_free_full(interfaces, 
(GDestroyNotify)_xfdashboard_stage_theme_interface_data_free);
 
                                return;
                        }
@@ -1344,8 +1339,7 @@ static void 
_xfdashboard_stage_on_application_theme_changed(XfdashboardStage *se
        }
 
        /* Release allocated resources */
-       g_list_foreach(interfaces, 
(GFunc)_xfdashboard_stage_theme_interface_data_free, NULL);
-       g_list_free(interfaces);
+       g_list_free_full(interfaces, 
(GDestroyNotify)_xfdashboard_stage_theme_interface_data_free);
 
        /* Set focus */
        _xfdashboard_stage_set_focus(self);

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.
_______________________________________________
Xfce4-commits mailing list
Xfce4-commits@xfce.org
https://mail.xfce.org/mailman/listinfo/xfce4-commits

Reply via email to