Method

GLibBookmarkFilehas_item

since: 2.12

Declaration

gboolean
g_bookmark_file_has_item (
  GBookmarkFile* bookmark,
  const gchar* uri
)

Description

Looks whether the desktop bookmark has an item with its URI set to uri.

Available since: 2.12

Parameters

uri

Type: const gchar*

A valid URI.

The data is owned by the caller of the function.
The value is a NUL terminated UTF-8 string.

Return value

Type: gboolean

TRUE if uri is inside bookmark, FALSE otherwise.