mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-12-23 22:16:16 +01:00
gio: Rename gcontenttype.c to gcontenttype-fdo.c
This reflects its status as actually platform-dependent: it’s only built on systems using the freedesktop.org content type system. It makes the file naming match up with other platform-specific implementations, such as `gcontenttype-win32.c` and `gcontenttype-osx.m`. A subsequent commit will introduce a platform-independent high level API wrapper so that the introspection annotations from this file can be reused between platforms. Signed-off-by: Philip Withnall <pwithnall@gnome.org> Helps: #3399
This commit is contained in:
parent
bf630dd4fd
commit
7bec6327a2
@ -405,7 +405,7 @@ if host_system != 'windows'
|
||||
)
|
||||
application_headers += files('gosxappinfo.h')
|
||||
else
|
||||
contenttype_sources += files('gcontenttype.c')
|
||||
contenttype_sources += files('gcontenttype-fdo.c')
|
||||
unix_sources += files('gdesktopappinfo.c')
|
||||
gio_unix_include_headers += files('gdesktopappinfo.h')
|
||||
launch_desktop_sources = files('gio-launch-desktop.c')
|
||||
|
@ -12,7 +12,7 @@ gio/gbufferedoutputstream.c
|
||||
gio/gbytesicon.c
|
||||
gio/gcancellable.c
|
||||
gio/gcharsetconverter.c
|
||||
gio/gcontenttype.c
|
||||
gio/gcontenttype-fdo.c
|
||||
gio/gcontenttype-win32.c
|
||||
gio/gconverter.c
|
||||
gio/gconverterinputstream.c
|
||||
|
@ -896,7 +896,7 @@
|
||||
fun:g_get_home_dir
|
||||
}
|
||||
|
||||
# gcontenttype.c caches a one-time allocation global array of @global_mime_dirs.
|
||||
# gcontenttype-fdo.c caches a one-time allocation global array of @global_mime_dirs.
|
||||
{
|
||||
content_type_mime_dirs_realloc
|
||||
Memcheck:Leak
|
||||
|
Loading…
Reference in New Issue
Block a user