Add g_app_info_launch_default_for_uri utility function. (#513256)

2008-02-01  Alexander Larsson  <alexl@redhat.com>

        * gappinfo.[ch]:
        * gio.symbols:
        Add g_app_info_launch_default_for_uri utility
	function. (#513256)


svn path=/trunk/; revision=6437
This commit is contained in:
Alexander Larsson
2008-02-01 11:21:37 +00:00
committed by Alexander Larsson
parent cebfe57343
commit a00c11f08a
4 changed files with 53 additions and 0 deletions

View File

@@ -186,6 +186,10 @@ GAppInfo *g_app_info_get_default_for_type (const char *content_type,
gboolean must_support_uris);
GAppInfo *g_app_info_get_default_for_uri_scheme (const char *uri_scheme);
gboolean g_app_info_launch_default_for_uri (const char *uri,
GAppLaunchContext *launch_context,
GError *error);
/**
* GAppLaunchContext:
* @parent_instance: The parent instance.