mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-09-06 07:58:44 +02:00
Don't compile some unused functions in gio/xdgmime/
This commit is contained in:
committed by
Emmanuel Fleury
parent
a1bfe899ab
commit
14e46ca288
@@ -738,6 +738,8 @@ _xdg_mime_cache_get_mime_type_for_data (const void *data,
|
||||
return cache_get_mime_type_for_data (data, len, result_prio, NULL, 0);
|
||||
}
|
||||
|
||||
#ifdef NOT_USED_IN_GIO
|
||||
|
||||
const char *
|
||||
_xdg_mime_cache_get_mime_type_for_file (const char *file_name,
|
||||
struct stat *statbuf)
|
||||
@@ -824,6 +826,8 @@ _xdg_mime_cache_get_mime_type_from_file_name (const char *file_name)
|
||||
return XDG_MIME_TYPE_UNKNOWN;
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
int
|
||||
_xdg_mime_cache_get_mime_types_from_file_name (const char *file_name,
|
||||
const char *mime_types[],
|
||||
@@ -1052,6 +1056,8 @@ _xdg_mime_cache_get_icon (const char *mime)
|
||||
return cache_lookup_icon (mime, 32);
|
||||
}
|
||||
|
||||
#ifdef NOT_USED_IN_GIO
|
||||
|
||||
static void
|
||||
dump_glob_node (XdgMimeCache *cache,
|
||||
xdg_uint32_t offset,
|
||||
@@ -1099,4 +1105,4 @@ _xdg_mime_cache_glob_dump (void)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user