ges/timeline: remove unused function get_toplevel_container

Fixes -Werror build with clang:

../subprojects/gst-editing-services/ges/ges-timeline.c:695:1: warning: unused function 'get_toplevel_container' [-Wunused-function]
get_toplevel_container (gpointer element)
^
This commit is contained in:
Matthew Waters 2019-08-27 13:52:52 +10:00
parent cec6fef8b3
commit 2e8528bb40

View file

@ -691,18 +691,6 @@ ges_timeline_init (GESTimeline * self)
/* Private methods */ /* Private methods */
static inline GESContainer *
get_toplevel_container (gpointer element)
{
GESTimelineElement *ret =
ges_timeline_element_get_toplevel_parent ((GESTimelineElement
*) (element));
/* We own a ref to the elements ourself */
gst_object_unref (ret);
return (GESContainer *) ret;
}
/* Sorting utils*/ /* Sorting utils*/
static gint static gint
sort_layers (gpointer a, gpointer b) sort_layers (gpointer a, gpointer b)