Lines Matching refs:appinfo
139 * @appinfo: a #GAppInfo.
143 * Returns: a duplicate of @appinfo.
146 g_app_info_dup (GAppInfo *appinfo)
150 g_return_val_if_fail (G_IS_APP_INFO (appinfo), NULL);
152 iface = G_APP_INFO_GET_IFACE (appinfo);
154 return (* iface->dup) (appinfo);
185 * @appinfo: a #GAppInfo.
193 * the @appinfo has been constructed.
198 g_app_info_get_id (GAppInfo *appinfo)
202 g_return_val_if_fail (G_IS_APP_INFO (appinfo), NULL);
204 iface = G_APP_INFO_GET_IFACE (appinfo);
206 return (* iface->get_id) (appinfo);
211 * @appinfo: a #GAppInfo.
215 * Returns: the name of the application for @appinfo.
218 g_app_info_get_name (GAppInfo *appinfo)
222 g_return_val_if_fail (G_IS_APP_INFO (appinfo), NULL);
224 iface = G_APP_INFO_GET_IFACE (appinfo);
226 return (* iface->get_name) (appinfo);
231 * @appinfo: a #GAppInfo.
236 * application @appinfo, or %NULL if none.
239 g_app_info_get_description (GAppInfo *appinfo)
243 g_return_val_if_fail (G_IS_APP_INFO (appinfo), NULL);
245 iface = G_APP_INFO_GET_IFACE (appinfo);
247 return (* iface->get_description) (appinfo);
252 * @appinfo: a #GAppInfo
256 * Returns: a string containing the @appinfo's application
260 g_app_info_get_executable (GAppInfo *appinfo)
264 g_return_val_if_fail (G_IS_APP_INFO (appinfo), NULL);
266 iface = G_APP_INFO_GET_IFACE (appinfo);
268 return (* iface->get_executable) (appinfo);
274 * @appinfo: a #GAppInfo
279 * Returns: a string containing the @appinfo's commandline,
285 g_app_info_get_commandline (GAppInfo *appinfo)
289 g_return_val_if_fail (G_IS_APP_INFO (appinfo), NULL);
291 iface = G_APP_INFO_GET_IFACE (appinfo);
294 return (* iface->get_commandline) (appinfo);
301 * @appinfo: a #GAppInfo.
310 g_app_info_set_as_default_for_type (GAppInfo *appinfo,
316 g_return_val_if_fail (G_IS_APP_INFO (appinfo), FALSE);
319 iface = G_APP_INFO_GET_IFACE (appinfo);
321 return (* iface->set_as_default_for_type) (appinfo, content_type, error);
327 * @appinfo: a #GAppInfo.
336 g_app_info_set_as_default_for_extension (GAppInfo *appinfo,
342 g_return_val_if_fail (G_IS_APP_INFO (appinfo), FALSE);
345 iface = G_APP_INFO_GET_IFACE (appinfo);
348 return (* iface->set_as_default_for_extension) (appinfo, extension, error);
358 * @appinfo: a #GAppInfo.
368 g_app_info_add_supports_type (GAppInfo *appinfo,
374 g_return_val_if_fail (G_IS_APP_INFO (appinfo), FALSE);
377 iface = G_APP_INFO_GET_IFACE (appinfo);
380 return (* iface->add_supports_type) (appinfo, content_type, error);
392 * @appinfo: a #GAppInfo.
397 * content types from a given @appinfo, %FALSE if not.
400 g_app_info_can_remove_supports_type (GAppInfo *appinfo)
404 g_return_val_if_fail (G_IS_APP_INFO (appinfo), FALSE);
406 iface = G_APP_INFO_GET_IFACE (appinfo);
409 return (* iface->can_remove_supports_type) (appinfo);
417 * @appinfo: a #GAppInfo.
426 g_app_info_remove_supports_type (GAppInfo *appinfo,
432 g_return_val_if_fail (G_IS_APP_INFO (appinfo), FALSE);
435 iface = G_APP_INFO_GET_IFACE (appinfo);
438 return (* iface->remove_supports_type) (appinfo, content_type, error);
450 * @appinfo: a #GAppInfo.
454 * Returns: the default #GIcon for @appinfo.
457 g_app_info_get_icon (GAppInfo *appinfo)
461 g_return_val_if_fail (G_IS_APP_INFO (appinfo), NULL);
463 iface = G_APP_INFO_GET_IFACE (appinfo);
465 return (* iface->get_icon) (appinfo);
471 * @appinfo: a #GAppInfo
495 g_app_info_launch (GAppInfo *appinfo,
502 g_return_val_if_fail (G_IS_APP_INFO (appinfo), FALSE);
504 iface = G_APP_INFO_GET_IFACE (appinfo);
506 return (* iface->launch) (appinfo, files, launch_context, error);
512 * @appinfo: a #GAppInfo.
516 * Returns: %TRUE if the @appinfo supports URIs.
519 g_app_info_supports_uris (GAppInfo *appinfo)
523 g_return_val_if_fail (G_IS_APP_INFO (appinfo), FALSE);
525 iface = G_APP_INFO_GET_IFACE (appinfo);
527 return (* iface->supports_uris) (appinfo);
533 * @appinfo: a #GAppInfo.
537 * Returns: %TRUE if the @appinfo supports files.
540 g_app_info_supports_files (GAppInfo *appinfo)
544 g_return_val_if_fail (G_IS_APP_INFO (appinfo), FALSE);
546 iface = G_APP_INFO_GET_IFACE (appinfo);
548 return (* iface->supports_files) (appinfo);
554 * @appinfo: a #GAppInfo
573 g_app_info_launch_uris (GAppInfo *appinfo,
580 g_return_val_if_fail (G_IS_APP_INFO (appinfo), FALSE);
582 iface = G_APP_INFO_GET_IFACE (appinfo);
584 return (* iface->launch_uris) (appinfo, uris, launch_context, error);
590 * @appinfo: a #GAppInfo.
595 * Returns: %TRUE if the @appinfo should be shown, %FALSE otherwise.
598 g_app_info_should_show (GAppInfo *appinfo)
602 g_return_val_if_fail (G_IS_APP_INFO (appinfo), FALSE);
604 iface = G_APP_INFO_GET_IFACE (appinfo);
606 return (* iface->should_show) (appinfo);
654 * @appinfo: a #GAppInfo
659 * Returns: %TRUE if @appinfo can be deleted
664 g_app_info_can_delete (GAppInfo *appinfo)
668 g_return_val_if_fail (G_IS_APP_INFO (appinfo), FALSE);
670 iface = G_APP_INFO_GET_IFACE (appinfo);
673 return (* iface->can_delete) (appinfo);
681 * @appinfo: a #GAppInfo
689 * Returns: %TRUE if @appinfo has been deleted
694 g_app_info_delete (GAppInfo *appinfo)
698 g_return_val_if_fail (G_IS_APP_INFO (appinfo), FALSE);
700 iface = G_APP_INFO_GET_IFACE (appinfo);
703 return (* iface->do_delete) (appinfo);