qulogic/libgnt

Also deprecate gnt_file_sel_set_read_fn.
release-2.x.y
2019-05-14, Elliott Sales de Andrade
773392a1abf3
Parents 387e1769bc11
Children c44601cabcb8
Also deprecate gnt_file_sel_set_read_fn.

This is supposed to be used to read directory contents from a file path,
but seems to have never been used. It also uses the now-deprecated
GntFile, so we don't want it to be public any more.
  • +3 -1
    gntfilesel.h
  • --- a/gntfilesel.h Tue May 14 01:18:09 2019 -0400
    +++ b/gntfilesel.h Tue May 14 01:39:04 2019 -0400
    @@ -256,16 +256,18 @@
    */
    void gnt_file_sel_set_suggested_filename(GntFileSel *sel, const char *suggest);
    +#ifndef GNT_DISABLE_DEPRECATED
    /**
    * gnt_file_sel_set_read_fn:
    * @sel: The file selector.
    * @read_fn: The custom read function.
    *
    * Set custom functions to read the names of files.
    + *
    + * Deprecated: 2.14.0: This is an internal implementation detail.
    */
    void gnt_file_sel_set_read_fn(GntFileSel *sel, gboolean (*read_fn)(const char *path, GList **files, GError **error));
    -#ifndef GNT_DISABLE_DEPRECATED
    /**
    * gnt_file_new:
    * @name: The name of the file.