BookmarkFile.getIsPrivate

Gets whether the private flag of the bookmark for @uri is set.

In the event the URI cannot be found, %FALSE is returned and @error is set to #G_BOOKMARK_FILE_ERROR_URI_NOT_FOUND. In the event that the private flag cannot be found, %FALSE is returned and @error is set to #G_BOOKMARK_FILE_ERROR_INVALID_VALUE.

class BookmarkFile
bool
getIsPrivate
(
string uri
)

Parameters

uri string

a valid URI

Return Value

Type: bool

%TRUE if the private flag is set, %FALSE otherwise.

Throws

GException on failure.

Meta

Since

2.12