gdesktopappinfo.h | gdesktopappinfo.h | |||
---|---|---|---|---|
skipping to change at line 57 | skipping to change at line 57 | |||
GDesktopAppInfo *g_desktop_app_info_new_from_filename (const char *fil ename); | GDesktopAppInfo *g_desktop_app_info_new_from_filename (const char *fil ename); | |||
GDesktopAppInfo *g_desktop_app_info_new_from_keyfile (GKeyFile *key _file); | GDesktopAppInfo *g_desktop_app_info_new_from_keyfile (GKeyFile *key _file); | |||
const char * g_desktop_app_info_get_filename (GDesktopAppInfo *inf o); | const char * g_desktop_app_info_get_filename (GDesktopAppInfo *inf o); | |||
GDesktopAppInfo *g_desktop_app_info_new (const char *des ktop_id); | GDesktopAppInfo *g_desktop_app_info_new (const char *des ktop_id); | |||
gboolean g_desktop_app_info_get_is_hidden (GDesktopAppInfo *inf o); | gboolean g_desktop_app_info_get_is_hidden (GDesktopAppInfo *inf o); | |||
void g_desktop_app_info_set_desktop_env (const char *des ktop_env); | void g_desktop_app_info_set_desktop_env (const char *des ktop_env); | |||
#ifndef G_DISABLE_DEPRECATED | ||||
#define G_TYPE_DESKTOP_APP_INFO_LOOKUP (g_desktop_app_info_lookup _get_type ()) | #define G_TYPE_DESKTOP_APP_INFO_LOOKUP (g_desktop_app_info_lookup _get_type ()) | |||
#define G_DESKTOP_APP_INFO_LOOKUP(obj) (G_TYPE_CHECK_INSTANCE_CAS T ((obj), G_TYPE_DESKTOP_APP_INFO_LOOKUP, GDesktopAppInfoLookup)) | #define G_DESKTOP_APP_INFO_LOOKUP(obj) (G_TYPE_CHECK_INSTANCE_CAS T ((obj), G_TYPE_DESKTOP_APP_INFO_LOOKUP, GDesktopAppInfoLookup)) | |||
#define G_IS_DESKTOP_APP_INFO_LOOKUP(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), G_TYPE_DESKTOP_APP_INFO_LOOKUP)) | #define G_IS_DESKTOP_APP_INFO_LOOKUP(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), G_TYPE_DESKTOP_APP_INFO_LOOKUP)) | |||
#define G_DESKTOP_APP_INFO_LOOKUP_GET_IFACE(obj) (G_TYPE_INSTANCE_GET_INTER FACE ((obj), G_TYPE_DESKTOP_APP_INFO_LOOKUP, GDesktopAppInfoLookupIface)) | #define G_DESKTOP_APP_INFO_LOOKUP_GET_IFACE(obj) (G_TYPE_INSTANCE_GET_INTER FACE ((obj), G_TYPE_DESKTOP_APP_INFO_LOOKUP, GDesktopAppInfoLookupIface)) | |||
/** | /** | |||
* G_DESKTOP_APP_INFO_LOOKUP_EXTENSION_POINT_NAME: | * G_DESKTOP_APP_INFO_LOOKUP_EXTENSION_POINT_NAME: | |||
* | * | |||
* Extension point for default handler to URI association. See | * Extension point for default handler to URI association. See | |||
* <link linkend="extending-gio">Extending GIO</link>. | * <link linkend="extending-gio">Extending GIO</link>. | |||
skipping to change at line 92 | skipping to change at line 94 | |||
GAppInfo * (* get_default_for_uri_scheme) (GDesktopAppInfoLookup *lookup, | GAppInfo * (* get_default_for_uri_scheme) (GDesktopAppInfoLookup *lookup, | |||
const char *uri_sch eme); | const char *uri_sch eme); | |||
}; | }; | |||
GType g_desktop_app_info_lookup_get_type (void) G_GNU C_CONST; | GType g_desktop_app_info_lookup_get_type (void) G_GNU C_CONST; | |||
GAppInfo *g_desktop_app_info_lookup_get_default_for_uri_scheme (GDesktopApp InfoLookup *lookup, | GAppInfo *g_desktop_app_info_lookup_get_default_for_uri_scheme (GDesktopApp InfoLookup *lookup, | |||
const char *uri_scheme); | const char *uri_scheme); | |||
/** | ||||
* GDesktopAppLaunchCallback: | ||||
* @appinfo: a #GDesktopAppInfo | ||||
* @pid: Process identifier | ||||
* @user_data: User data | ||||
* | ||||
* During invocation, g_desktop_app_info_launch_uris_as_manager() may | ||||
* create one or more child processes. This callback is invoked once | ||||
* for each, providing the process ID. | ||||
*/ | ||||
typedef void (*GDesktopAppLaunchCallback) (GDesktopAppInfo *appinfo, | ||||
GPid pid, | ||||
gpointer user_data); | ||||
gboolean g_desktop_app_info_launch_uris_as_manager (GDesktopAppInfo | ||||
*appinfo, | ||||
GList | ||||
*uris, | ||||
GAppLaunchContext | ||||
*launch_context, | ||||
GSpawnFlags | ||||
spawn_flags, | ||||
GSpawnChildSetupFunc | ||||
user_setup, | ||||
gpointer | ||||
user_setup_data, | ||||
GDesktopAppLaunchCall | ||||
back pid_callback, | ||||
gpointer | ||||
pid_callback_data, | ||||
GError | ||||
**error); | ||||
#endif /* G_DISABLE_DEPRECATED */ | ||||
G_END_DECLS | G_END_DECLS | |||
#endif /* __G_DESKTOP_APP_INFO_H__ */ | #endif /* __G_DESKTOP_APP_INFO_H__ */ | |||
End of changes. 2 change blocks. | ||||
0 lines changed or deleted | 37 lines changed or added | |||
This html diff was produced by rfcdiff 1.41. The latest version is available from http://tools.ietf.org/tools/rfcdiff/ |