mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-11-10 03:16:17 +01:00
Cleanups
This commit is contained in:
parent
f90eb144d4
commit
c53c701e53
File diff suppressed because it is too large
Load Diff
@ -31,24 +31,24 @@
|
||||
|
||||
G_BEGIN_DECLS
|
||||
|
||||
gboolean g_content_type_equals (const char *type1,
|
||||
const char *type2);
|
||||
gboolean g_content_type_is_a (const char *type,
|
||||
const char *supertype);
|
||||
gboolean g_content_type_is_unknown (const char *type);
|
||||
char * g_content_type_get_description (const char *type);
|
||||
char * g_content_type_get_mime_type (const char *type);
|
||||
GIcon * g_content_type_get_icon (const char *type);
|
||||
gboolean g_content_type_can_be_executable (const char *type);
|
||||
gboolean g_content_type_equals (const gchar *type1,
|
||||
const gchar *type2);
|
||||
gboolean g_content_type_is_a (const gchar *type,
|
||||
const gchar *supertype);
|
||||
gboolean g_content_type_is_unknown (const gchar *type);
|
||||
gchar * g_content_type_get_description (const gchar *type);
|
||||
gchar * g_content_type_get_mime_type (const gchar *type);
|
||||
GIcon * g_content_type_get_icon (const gchar *type);
|
||||
gboolean g_content_type_can_be_executable (const gchar *type);
|
||||
|
||||
char * g_content_type_from_mime_type (const char *mime_type);
|
||||
gchar * g_content_type_from_mime_type (const gchar *mime_type);
|
||||
|
||||
char * g_content_type_guess (const char *filename,
|
||||
const guchar *data,
|
||||
gsize data_size,
|
||||
gboolean *result_uncertain);
|
||||
gchar * g_content_type_guess (const gchar *filename,
|
||||
const guchar *data,
|
||||
gsize data_size,
|
||||
gboolean *result_uncertain);
|
||||
|
||||
char ** g_content_type_guess_for_tree (GFile *root);
|
||||
gchar ** g_content_type_guess_for_tree (GFile *root);
|
||||
|
||||
GList * g_content_types_get_registered (void);
|
||||
|
||||
|
11
gio/tests/appinfo-test2.desktop
Normal file
11
gio/tests/appinfo-test2.desktop
Normal file
@ -0,0 +1,11 @@
|
||||
[Desktop Entry]
|
||||
Type=Application
|
||||
Name=appinfo-test
|
||||
Name[de]=appinfo-test-de
|
||||
X-GNOME-FullName=example
|
||||
X-GNOME-FullName[de]=Beispiel
|
||||
Comment=GAppInfo example
|
||||
Comment[de]=GAppInfo Beispiel
|
||||
Exec=./appinfo-test --option
|
||||
TryExec=does-not-exist
|
||||
Icon=testicon
|
Loading…
Reference in New Issue
Block a user