EntryDirectory *
entry_directory_new_legacy (DesktopEntryType  entry_type,
                            const char       *path,
                            const char       *legacy_prefix)
{
  return entry_directory_new_full (entry_type, path, TRUE, legacy_prefix);
}
Ejemplo n.º 2
0
EntryDirectory *
entry_directory_new (DesktopEntryType  entry_type,
                     const char       *path)
{
  if( ! g_slist_find_custom(all_used_dirs, path, (GCompareFunc)strcmp ) )
      all_used_dirs = g_slist_prepend( all_used_dirs, g_strdup( path ) );
  return entry_directory_new_full (entry_type, path, FALSE, NULL);
}
EntryDirectory *
entry_directory_new (DesktopEntryType  entry_type,
                     const char       *path)
{
  return entry_directory_new_full (entry_type, path, FALSE, NULL);
}