Top |
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.
ThunarRenamerPair *
thunar_renamer_pair_copy (ThunarRenamerPair *renamer_pair
);
Allocates a copy of the specified renamer_pair
.
The caller is responsible to free the returned pair
using thunar_renamer_pair_free()
when no longer
needed.
void
thunar_renamer_pair_free (gpointer data
);
Frees the specified renamer_pair
.
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.
void
thunar_renamer_pair_list_free (GList *renamer_pair_list
);
Releases the renamer_pair_list
and all ThunarRenamerPairs
in the list.
int thunar_renamer_pair_compare_ascending (const void *pair_a
,const void *pair_b
);
Based on GCompareFunc This function can be used as a comparator to sort a Glist of ThunarRenamerPair in ascending order of their name.
int thunar_renamer_pair_compare_descending (const void *pair_a
,const void *pair_b
);
Based on GCompareFunc This function can be used as a comparator to sort a Glist of ThunarRenamerPair in descending order of their name.