get_app_info


Description:

[ Version ( deprecated_since = "2.66" , replacement = "get_application_info" ) ]
public bool get_app_info (string uri, string name, out string exec, out uint count, out time_t stamp) throws BookmarkFileError

Warning: get_app_info is deprecated since 2.66. Use get_application_info.

Gets the registration information of app_name for the bookmark for uri.

Note:

Use get_application_info instead, as `time_t` is deprecated due to the year 2038 problem.

See set_application_info for more information about the returned data.

The string returned in app_exec must be freed.

In the event the URI cannot be found, false is returned and throws is set to g_bookmark_file_error_uri_not_found. In the event that no application with name app_name has registered a bookmark for uri, false is returned and error is set to g_bookmark_file_error_app_not_registered. In the event that unquoting the command line fails, an error of the g_shell_error domain is set and false is returned.

Parameters:

this

a BookmarkFile

uri

a valid URI

name

an application's name

exec

return location for the command line of the application, or null

count

return location for the registration count, or null

stamp

return location for the last registration time, or null

Returns:

true on success.