summaryrefslogtreecommitdiff
path: root/plugins/gtk+/glade-gtk-grid.c
diff options
context:
space:
mode:
authorJuan Pablo Ugarte <juanpablougarte@gmail.com>2020-08-17 16:31:55 -0300
committerJuan Pablo Ugarte <juanpablougarte@gmail.com>2020-08-17 19:19:48 -0300
commit80de73f0b4d904e77164399811a5d7da7ecf47f3 (patch)
tree97aa017c186b1e485da389eee3db7c2ee100a5c0 /plugins/gtk+/glade-gtk-grid.c
parenta987d81b4e9a7c9a3d1f616444500d36c6dda274 (diff)
downloadglade-80de73f0b4d904e77164399811a5d7da7ecf47f3.tar.gz
Use g_list_free_full() instead of g_list_foreach() + g_list_free()
Also fix -Wcast-function-type warnings
Diffstat (limited to 'plugins/gtk+/glade-gtk-grid.c')
-rw-r--r--plugins/gtk+/glade-gtk-grid.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/gtk+/glade-gtk-grid.c b/plugins/gtk+/glade-gtk-grid.c
index a851b2e7..27f069d9 100644
--- a/plugins/gtk+/glade-gtk-grid.c
+++ b/plugins/gtk+/glade-gtk-grid.c
@@ -530,7 +530,7 @@ glade_gtk_grid_child_insert_remove_action (GladeWidgetAdaptor *adaptor,
children = glade_widget_adaptor_get_children (adaptor, container);
/* Make sure widgets does not get destroyed */
- glade_util_object_list_ref (children);
+ glade_util_list_objects_ref (children);
glade_widget_property_get (parent, n_row_col, &size);