thunar-renamer-pair

thunar-renamer-pair

Functions

Object Hierarchy

    GBoxed
    ╰── ThunarRenamerPair

Description

Functions

thunar_renamer_pair_new ()

ThunarRenamerPair *
thunar_renamer_pair_new (ThunarFile *file,
                         const gchar *name);

Allocates a new ThunarRenamerPair for the given file and name .

The caller is responsible to free the returned pair using thunar_renamer_pair_free() when no longer needed.

Parameters

file

a ThunarFile.

 

name

the new name for file .

 

Returns

the newly allocated ThunarRenamerPair.


thunar_renamer_pair_free ()

void
thunar_renamer_pair_free (gpointer data);

Frees the specified renamer_pair .

Parameters

data

a ThunarRenamerPair.

 

thunar_renamer_pair_list_copy ()

GList *
thunar_renamer_pair_list_copy (GList *renamer_pair_list);

Takes a deep copy of the renamer_pair_list .

The caller is responsible to free the returned list using thunar_renamer_pair_list_free() when no longer needed.

Parameters

renamer_pair_list

a GList of ThunarRenamerPairs.

 

Returns

a deep copy of renamer_pair_list .


thunar_renamer_pair_list_free ()

void
thunar_renamer_pair_list_free (GList *renamer_pair_list);

Releases the renamer_pair_list and all ThunarRenamerPairs in the list.

Parameters

renamer_pair_list

a GList of ThunarRenamerPairs.