GSearchFunc seems to be glib1.2 only so it was replaced with
authorWim Taymans <wim.taymans@gmail.com>
Mon, 22 Oct 2001 13:37:50 +0000 (13:37 +0000)
committerWim Taymans <wim.taymans@gmail.com>
Mon, 22 Oct 2001 13:37:50 +0000 (13:37 +0000)
Original commit message from CVS:
GSearchFunc seems to be glib1.2 only so it was replaced with
GCompareFunc again.

gst/elements/gstfilesrc.c
plugins/elements/gstfilesrc.c

index d26190e..a1b8dd5 100644 (file)
@@ -537,7 +537,7 @@ gst_filesrc_get (GstPad *pad)
     region.offset = src->curoffset;
     region.size = readsize;
     map = g_tree_search (src->map_regions,
-                        (GSearchFunc) gst_filesrc_search_region_match,
+                        (GCompareFunc) gst_filesrc_search_region_match,
                         &region);
 
     // if we found an exact match, subbuffer it
index d26190e..a1b8dd5 100644 (file)
@@ -537,7 +537,7 @@ gst_filesrc_get (GstPad *pad)
     region.offset = src->curoffset;
     region.size = readsize;
     map = g_tree_search (src->map_regions,
-                        (GSearchFunc) gst_filesrc_search_region_match,
+                        (GCompareFunc) gst_filesrc_search_region_match,
                         &region);
 
     // if we found an exact match, subbuffer it