mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-04-16 12:28:48 +02: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
|
G_BEGIN_DECLS
|
||||||
|
|
||||||
gboolean g_content_type_equals (const char *type1,
|
gboolean g_content_type_equals (const gchar *type1,
|
||||||
const char *type2);
|
const gchar *type2);
|
||||||
gboolean g_content_type_is_a (const char *type,
|
gboolean g_content_type_is_a (const gchar *type,
|
||||||
const char *supertype);
|
const gchar *supertype);
|
||||||
gboolean g_content_type_is_unknown (const char *type);
|
gboolean g_content_type_is_unknown (const gchar *type);
|
||||||
char * g_content_type_get_description (const char *type);
|
gchar * g_content_type_get_description (const gchar *type);
|
||||||
char * g_content_type_get_mime_type (const char *type);
|
gchar * g_content_type_get_mime_type (const gchar *type);
|
||||||
GIcon * g_content_type_get_icon (const char *type);
|
GIcon * g_content_type_get_icon (const gchar *type);
|
||||||
gboolean g_content_type_can_be_executable (const char *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,
|
gchar * g_content_type_guess (const gchar *filename,
|
||||||
const guchar *data,
|
const guchar *data,
|
||||||
gsize data_size,
|
gsize data_size,
|
||||||
gboolean *result_uncertain);
|
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);
|
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…
x
Reference in New Issue
Block a user