From 2b2e6fbdeaf1cada6a43552fc69e8b77918f6e5e Mon Sep 17 00:00:00 2001 From: =?utf8?q?Tim-Philipp=20M=C3=BCller?= Date: Thu, 23 Jun 2011 20:11:55 +0100 Subject: [PATCH] camerabin2: don't use GLib 2.28 API Don't use GLib 2.28 API, we still only require >= 2.24. --- gst/camerabin2/gstcamerabin2.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gst/camerabin2/gstcamerabin2.c b/gst/camerabin2/gstcamerabin2.c index 9e34989..b7fb766 100644 --- a/gst/camerabin2/gstcamerabin2.c +++ b/gst/camerabin2/gstcamerabin2.c @@ -1398,7 +1398,8 @@ gst_camera_bin_change_state (GstElement * element, GstStateChange trans) gst_tag_setter_reset_tags (GST_TAG_SETTER (camera)); GST_CAMERA_BIN_RESET_PROCESSING_COUNTER (camera); - g_slist_free_full (camera->image_location_list, g_free); + g_slist_foreach (camera->image_location_list, (GFunc) g_free, NULL); + g_slist_free (camera->image_location_list); camera->image_location_list = NULL; /* explicitly set to READY as they might be outside of the bin */ -- 2.7.4