|
gimme-alpha 0.1
|
This graph shows which files directly or indirectly include this file:Go to the source code of this file.
Functions | |
| GFile * | g_file_get_same_ancestor (GList *files) |
| GList * | g_file_get_unique_paths (GList *files) |
| GFile* g_file_get_same_ancestor | ( | GList * | files | ) |
| GList* g_file_get_unique_paths | ( | GList * | files | ) |
Definition at line 33 of file g_file_special_ops.c.
References g_file_get_common_ancestor().
{
GList *new_files = NULL;
GList *p;
GFile *common_ancestor = g_file_get_common_ancestor(files);
char* rel_path;
if(common_ancestor == NULL){
for(p=files; p!=NULL; p=g_list_next(p))
new_files = g_list_append(new_files, g_file_dup(p->data));
}else{
for(p=files; p!=NULL; p=g_list_next(p)) {
rel_path = g_file_get_relative_path(common_base, p->data);
}
g_free(common_base);
}
return new_files;
}
Here is the call graph for this function: