~ubuntu-branches/ubuntu/trusty/glib2.0/trusty-proposed

« back to all changes in this revision

Viewing changes to docs/reference/glib/html/glib-Bookmark-file-parser.html

  • Committer: Bazaar Package Importer
  • Author(s): Sebastien Bacher
  • Date: 2010-03-09 11:28:22 UTC
  • mfrom: (3.4.8 experimental)
  • Revision ID: james.westby@ubuntu.com-20100309112822-j4n0v3xbtsup8s97
Tags: 2.23.5-1ubuntu1
* Resync on Debian
* debian/patches/01_gettext-desktopfiles.patch:
  - updated to use gettext for X-GNOME-Fullname too
* debian/patches/71_gio_launch_handler.patch:
  - new gio default launch handle feature required for wncksync
* debian/control.in, 
  debian/patches/80-gtester-subunit.patch:
  - gtester-report subunit support
* debian/libglib2.0-0.symbols:
  - updated the symbols list for the gio launcher handler
* debian/rules:
  - don't break build on test suite errors, debian recently activated this but
    the build breaks even when there is no error in the testsuite

Show diffs side-by-side

added added

removed removed

Lines of Context:
3
3
<head>
4
4
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
5
5
<title>Bookmark file parser</title>
6
 
<meta name="generator" content="DocBook XSL Stylesheets V1.75.2">
 
6
<meta name="generator" content="DocBook XSL Stylesheets V1.75.1">
7
7
<link rel="home" href="index.html" title="GLib Reference Manual">
8
8
<link rel="up" href="glib-utilities.html" title="GLib Utilities">
9
9
<link rel="prev" href="glib-Key-value-file-parser.html" title="Key-value file parser">
10
10
<link rel="next" href="glib-Testing.html" title="Testing">
11
 
<meta name="generator" content="GTK-Doc V1.13 (XML mode)">
 
11
<meta name="generator" content="GTK-Doc V1.11 (XML mode)">
12
12
<link rel="stylesheet" href="style.css" type="text/css">
13
13
<link rel="chapter" href="glib.html" title="GLib Overview">
14
14
<link rel="chapter" href="glib-fundamentals.html" title="GLib Fundamentals">
42
42
</tr>
43
43
<tr><td colspan="5" class="shortcuts">
44
44
<a href="#glib-Bookmark-file-parser.synopsis" class="shortcut">Top</a>
45
 
                   | 
46
 
                  <a href="#glib-Bookmark-file-parser.description" class="shortcut">Description</a>
 
45
                 | 
 
46
                <a href="#glib-Bookmark-file-parser.description" class="shortcut">Description</a>
47
47
</td></tr>
48
48
</table>
49
49
<div class="refentry" title="Bookmark file parser">
58
58
<div class="refsynopsisdiv" title="Synopsis">
59
59
<a name="glib-Bookmark-file-parser.synopsis"></a><h2>Synopsis</h2>
60
60
<pre class="synopsis">
 
61
 
61
62
#include &lt;glib.h&gt;
62
63
 
63
64
                    <a class="link" href="glib-Bookmark-file-parser.html#GBookmarkFile" title="GBookmarkFile">GBookmarkFile</a>;
64
 
#define             <a class="link" href="glib-Bookmark-file-parser.html#G-BOOKMARK-FILE-ERROR:CAPS" title="G_BOOKMARK_FILE_ERROR">G_BOOKMARK_FILE_ERROR</a>
 
65
#define             <a class="link" href="glib-Bookmark-file-parser.html#G-BOOKMARK-FILE-ERROR--CAPS" title="G_BOOKMARK_FILE_ERROR">G_BOOKMARK_FILE_ERROR</a>
65
66
enum                <a class="link" href="glib-Bookmark-file-parser.html#GBookmarkFileError" title="enum GBookmarkFileError">GBookmarkFileError</a>;
66
 
<a class="link" href="glib-Bookmark-file-parser.html#GBookmarkFile" title="GBookmarkFile"><span class="returnvalue">GBookmarkFile</span></a> *     <a class="link" href="glib-Bookmark-file-parser.html#g-bookmark-file-new" title="g_bookmark_file_new ()">g_bookmark_file_new</a>                 (void);
67
 
<span class="returnvalue">void</span>                <a class="link" href="glib-Bookmark-file-parser.html#g-bookmark-file-free" title="g_bookmark_file_free ()">g_bookmark_file_free</a>                (<a class="link" href="glib-Bookmark-file-parser.html#GBookmarkFile" title="GBookmarkFile"><span class="returnvalue">GBookmarkFile</span></a> *bookmark);
68
 
<a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="returnvalue">gboolean</span></a>            <a class="link" href="glib-Bookmark-file-parser.html#g-bookmark-file-load-from-file" title="g_bookmark_file_load_from_file ()">g_bookmark_file_load_from_file</a>      (<a class="link" href="glib-Bookmark-file-parser.html#GBookmarkFile" title="GBookmarkFile"><span class="returnvalue">GBookmarkFile</span></a> *bookmark,
69
 
                                                         const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> *filename,
70
 
                                                         <a class="link" href="glib-Error-Reporting.html#GError" title="GError"><span class="returnvalue">GError</span></a> **error);
71
 
<a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="returnvalue">gboolean</span></a>            <a class="link" href="glib-Bookmark-file-parser.html#g-bookmark-file-load-from-data" title="g_bookmark_file_load_from_data ()">g_bookmark_file_load_from_data</a>      (<a class="link" href="glib-Bookmark-file-parser.html#GBookmarkFile" title="GBookmarkFile"><span class="returnvalue">GBookmarkFile</span></a> *bookmark,
72
 
                                                         const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> *data,
73
 
                                                         <a class="link" href="glib-Basic-Types.html#gsize" title="gsize"><span class="returnvalue">gsize</span></a> length,
74
 
                                                         <a class="link" href="glib-Error-Reporting.html#GError" title="GError"><span class="returnvalue">GError</span></a> **error);
75
 
<a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="returnvalue">gboolean</span></a>            <a class="link" href="glib-Bookmark-file-parser.html#g-bookmark-file-load-from-data-dirs" title="g_bookmark_file_load_from_data_dirs ()">g_bookmark_file_load_from_data_dirs</a> (<a class="link" href="glib-Bookmark-file-parser.html#GBookmarkFile" title="GBookmarkFile"><span class="returnvalue">GBookmarkFile</span></a> *bookmark,
76
 
                                                         const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> *file,
77
 
                                                         <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> **full_path,
78
 
                                                         <a class="link" href="glib-Error-Reporting.html#GError" title="GError"><span class="returnvalue">GError</span></a> **error);
79
 
<a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> *             <a class="link" href="glib-Bookmark-file-parser.html#g-bookmark-file-to-data" title="g_bookmark_file_to_data ()">g_bookmark_file_to_data</a>             (<a class="link" href="glib-Bookmark-file-parser.html#GBookmarkFile" title="GBookmarkFile"><span class="returnvalue">GBookmarkFile</span></a> *bookmark,
80
 
                                                         <a class="link" href="glib-Basic-Types.html#gsize" title="gsize"><span class="returnvalue">gsize</span></a> *length,
81
 
                                                         <a class="link" href="glib-Error-Reporting.html#GError" title="GError"><span class="returnvalue">GError</span></a> **error);
82
 
<a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="returnvalue">gboolean</span></a>            <a class="link" href="glib-Bookmark-file-parser.html#g-bookmark-file-to-file" title="g_bookmark_file_to_file ()">g_bookmark_file_to_file</a>             (<a class="link" href="glib-Bookmark-file-parser.html#GBookmarkFile" title="GBookmarkFile"><span class="returnvalue">GBookmarkFile</span></a> *bookmark,
83
 
                                                         const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> *filename,
84
 
                                                         <a class="link" href="glib-Error-Reporting.html#GError" title="GError"><span class="returnvalue">GError</span></a> **error);
85
 
<a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="returnvalue">gboolean</span></a>            <a class="link" href="glib-Bookmark-file-parser.html#g-bookmark-file-has-item" title="g_bookmark_file_has_item ()">g_bookmark_file_has_item</a>            (<a class="link" href="glib-Bookmark-file-parser.html#GBookmarkFile" title="GBookmarkFile"><span class="returnvalue">GBookmarkFile</span></a> *bookmark,
86
 
                                                         const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> *uri);
87
 
<a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="returnvalue">gboolean</span></a>            <a class="link" href="glib-Bookmark-file-parser.html#g-bookmark-file-has-group" title="g_bookmark_file_has_group ()">g_bookmark_file_has_group</a>           (<a class="link" href="glib-Bookmark-file-parser.html#GBookmarkFile" title="GBookmarkFile"><span class="returnvalue">GBookmarkFile</span></a> *bookmark,
88
 
                                                         const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> *uri,
89
 
                                                         const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> *group,
90
 
                                                         <a class="link" href="glib-Error-Reporting.html#GError" title="GError"><span class="returnvalue">GError</span></a> **error);
91
 
<a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="returnvalue">gboolean</span></a>            <a class="link" href="glib-Bookmark-file-parser.html#g-bookmark-file-has-application" title="g_bookmark_file_has_application ()">g_bookmark_file_has_application</a>     (<a class="link" href="glib-Bookmark-file-parser.html#GBookmarkFile" title="GBookmarkFile"><span class="returnvalue">GBookmarkFile</span></a> *bookmark,
92
 
                                                         const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> *uri,
93
 
                                                         const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> *name,
94
 
                                                         <a class="link" href="glib-Error-Reporting.html#GError" title="GError"><span class="returnvalue">GError</span></a> **error);
95
 
<a class="link" href="glib-Basic-Types.html#gint" title="gint"><span class="returnvalue">gint</span></a>                <a class="link" href="glib-Bookmark-file-parser.html#g-bookmark-file-get-size" title="g_bookmark_file_get_size ()">g_bookmark_file_get_size</a>            (<a class="link" href="glib-Bookmark-file-parser.html#GBookmarkFile" title="GBookmarkFile"><span class="returnvalue">GBookmarkFile</span></a> *bookmark);
96
 
<a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> **            <a class="link" href="glib-Bookmark-file-parser.html#g-bookmark-file-get-uris" title="g_bookmark_file_get_uris ()">g_bookmark_file_get_uris</a>            (<a class="link" href="glib-Bookmark-file-parser.html#GBookmarkFile" title="GBookmarkFile"><span class="returnvalue">GBookmarkFile</span></a> *bookmark,
97
 
                                                         <a class="link" href="glib-Basic-Types.html#gsize" title="gsize"><span class="returnvalue">gsize</span></a> *length);
98
 
 
99
 
<a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> *             <a class="link" href="glib-Bookmark-file-parser.html#g-bookmark-file-get-title" title="g_bookmark_file_get_title ()">g_bookmark_file_get_title</a>           (<a class="link" href="glib-Bookmark-file-parser.html#GBookmarkFile" title="GBookmarkFile"><span class="returnvalue">GBookmarkFile</span></a> *bookmark,
100
 
                                                         const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> *uri,
101
 
                                                         <a class="link" href="glib-Error-Reporting.html#GError" title="GError"><span class="returnvalue">GError</span></a> **error);
102
 
<a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> *             <a class="link" href="glib-Bookmark-file-parser.html#g-bookmark-file-get-description" title="g_bookmark_file_get_description ()">g_bookmark_file_get_description</a>     (<a class="link" href="glib-Bookmark-file-parser.html#GBookmarkFile" title="GBookmarkFile"><span class="returnvalue">GBookmarkFile</span></a> *bookmark,
103
 
                                                         const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> *uri,
104
 
                                                         <a class="link" href="glib-Error-Reporting.html#GError" title="GError"><span class="returnvalue">GError</span></a> **error);
105
 
<a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> *             <a class="link" href="glib-Bookmark-file-parser.html#g-bookmark-file-get-mime-type" title="g_bookmark_file_get_mime_type ()">g_bookmark_file_get_mime_type</a>       (<a class="link" href="glib-Bookmark-file-parser.html#GBookmarkFile" title="GBookmarkFile"><span class="returnvalue">GBookmarkFile</span></a> *bookmark,
106
 
                                                         const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> *uri,
107
 
                                                         <a class="link" href="glib-Error-Reporting.html#GError" title="GError"><span class="returnvalue">GError</span></a> **error);
108
 
<a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="returnvalue">gboolean</span></a>            <a class="link" href="glib-Bookmark-file-parser.html#g-bookmark-file-get-is-private" title="g_bookmark_file_get_is_private ()">g_bookmark_file_get_is_private</a>      (<a class="link" href="glib-Bookmark-file-parser.html#GBookmarkFile" title="GBookmarkFile"><span class="returnvalue">GBookmarkFile</span></a> *bookmark,
109
 
                                                         const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> *uri,
110
 
                                                         <a class="link" href="glib-Error-Reporting.html#GError" title="GError"><span class="returnvalue">GError</span></a> **error);
111
 
<a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="returnvalue">gboolean</span></a>            <a class="link" href="glib-Bookmark-file-parser.html#g-bookmark-file-get-icon" title="g_bookmark_file_get_icon ()">g_bookmark_file_get_icon</a>            (<a class="link" href="glib-Bookmark-file-parser.html#GBookmarkFile" title="GBookmarkFile"><span class="returnvalue">GBookmarkFile</span></a> *bookmark,
112
 
                                                         const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> *uri,
113
 
                                                         <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> **href,
114
 
                                                         <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> **mime_type,
115
 
                                                         <a class="link" href="glib-Error-Reporting.html#GError" title="GError"><span class="returnvalue">GError</span></a> **error);
116
 
<span class="returnvalue">time_t</span>              <a class="link" href="glib-Bookmark-file-parser.html#g-bookmark-file-get-added" title="g_bookmark_file_get_added ()">g_bookmark_file_get_added</a>           (<a class="link" href="glib-Bookmark-file-parser.html#GBookmarkFile" title="GBookmarkFile"><span class="returnvalue">GBookmarkFile</span></a> *bookmark,
117
 
                                                         const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> *uri,
118
 
                                                         <a class="link" href="glib-Error-Reporting.html#GError" title="GError"><span class="returnvalue">GError</span></a> **error);
119
 
<span class="returnvalue">time_t</span>              <a class="link" href="glib-Bookmark-file-parser.html#g-bookmark-file-get-modified" title="g_bookmark_file_get_modified ()">g_bookmark_file_get_modified</a>        (<a class="link" href="glib-Bookmark-file-parser.html#GBookmarkFile" title="GBookmarkFile"><span class="returnvalue">GBookmarkFile</span></a> *bookmark,
120
 
                                                         const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> *uri,
121
 
                                                         <a class="link" href="glib-Error-Reporting.html#GError" title="GError"><span class="returnvalue">GError</span></a> **error);
122
 
<span class="returnvalue">time_t</span>              <a class="link" href="glib-Bookmark-file-parser.html#g-bookmark-file-get-visited" title="g_bookmark_file_get_visited ()">g_bookmark_file_get_visited</a>         (<a class="link" href="glib-Bookmark-file-parser.html#GBookmarkFile" title="GBookmarkFile"><span class="returnvalue">GBookmarkFile</span></a> *bookmark,
123
 
                                                         const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> *uri,
124
 
                                                         <a class="link" href="glib-Error-Reporting.html#GError" title="GError"><span class="returnvalue">GError</span></a> **error);
125
 
<a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> **            <a class="link" href="glib-Bookmark-file-parser.html#g-bookmark-file-get-groups" title="g_bookmark_file_get_groups ()">g_bookmark_file_get_groups</a>          (<a class="link" href="glib-Bookmark-file-parser.html#GBookmarkFile" title="GBookmarkFile"><span class="returnvalue">GBookmarkFile</span></a> *bookmark,
126
 
                                                         const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> *uri,
127
 
                                                         <a class="link" href="glib-Basic-Types.html#gsize" title="gsize"><span class="returnvalue">gsize</span></a> *length,
128
 
                                                         <a class="link" href="glib-Error-Reporting.html#GError" title="GError"><span class="returnvalue">GError</span></a> **error);
129
 
<a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> **            <a class="link" href="glib-Bookmark-file-parser.html#g-bookmark-file-get-applications" title="g_bookmark_file_get_applications ()">g_bookmark_file_get_applications</a>    (<a class="link" href="glib-Bookmark-file-parser.html#GBookmarkFile" title="GBookmarkFile"><span class="returnvalue">GBookmarkFile</span></a> *bookmark,
130
 
                                                         const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> *uri,
131
 
                                                         <a class="link" href="glib-Basic-Types.html#gsize" title="gsize"><span class="returnvalue">gsize</span></a> *length,
132
 
                                                         <a class="link" href="glib-Error-Reporting.html#GError" title="GError"><span class="returnvalue">GError</span></a> **error);
133
 
<a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="returnvalue">gboolean</span></a>            <a class="link" href="glib-Bookmark-file-parser.html#g-bookmark-file-get-app-info" title="g_bookmark_file_get_app_info ()">g_bookmark_file_get_app_info</a>        (<a class="link" href="glib-Bookmark-file-parser.html#GBookmarkFile" title="GBookmarkFile"><span class="returnvalue">GBookmarkFile</span></a> *bookmark,
134
 
                                                         const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> *uri,
135
 
                                                         const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> *name,
136
 
                                                         <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> **exec,
137
 
                                                         <a class="link" href="glib-Basic-Types.html#guint" title="guint"><span class="returnvalue">guint</span></a> *count,
138
 
                                                         <span class="returnvalue">time_t</span> *stamp,
139
 
                                                         <a class="link" href="glib-Error-Reporting.html#GError" title="GError"><span class="returnvalue">GError</span></a> **error);
140
 
 
141
 
<span class="returnvalue">void</span>                <a class="link" href="glib-Bookmark-file-parser.html#g-bookmark-file-set-title" title="g_bookmark_file_set_title ()">g_bookmark_file_set_title</a>           (<a class="link" href="glib-Bookmark-file-parser.html#GBookmarkFile" title="GBookmarkFile"><span class="returnvalue">GBookmarkFile</span></a> *bookmark,
142
 
                                                         const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> *uri,
143
 
                                                         const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> *title);
144
 
<span class="returnvalue">void</span>                <a class="link" href="glib-Bookmark-file-parser.html#g-bookmark-file-set-description" title="g_bookmark_file_set_description ()">g_bookmark_file_set_description</a>     (<a class="link" href="glib-Bookmark-file-parser.html#GBookmarkFile" title="GBookmarkFile"><span class="returnvalue">GBookmarkFile</span></a> *bookmark,
145
 
                                                         const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> *uri,
146
 
                                                         const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> *description);
147
 
<span class="returnvalue">void</span>                <a class="link" href="glib-Bookmark-file-parser.html#g-bookmark-file-set-mime-type" title="g_bookmark_file_set_mime_type ()">g_bookmark_file_set_mime_type</a>       (<a class="link" href="glib-Bookmark-file-parser.html#GBookmarkFile" title="GBookmarkFile"><span class="returnvalue">GBookmarkFile</span></a> *bookmark,
148
 
                                                         const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> *uri,
149
 
                                                         const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> *mime_type);
150
 
<span class="returnvalue">void</span>                <a class="link" href="glib-Bookmark-file-parser.html#g-bookmark-file-set-is-private" title="g_bookmark_file_set_is_private ()">g_bookmark_file_set_is_private</a>      (<a class="link" href="glib-Bookmark-file-parser.html#GBookmarkFile" title="GBookmarkFile"><span class="returnvalue">GBookmarkFile</span></a> *bookmark,
151
 
                                                         const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> *uri,
152
 
                                                         <a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="returnvalue">gboolean</span></a> is_private);
153
 
<span class="returnvalue">void</span>                <a class="link" href="glib-Bookmark-file-parser.html#g-bookmark-file-set-icon" title="g_bookmark_file_set_icon ()">g_bookmark_file_set_icon</a>            (<a class="link" href="glib-Bookmark-file-parser.html#GBookmarkFile" title="GBookmarkFile"><span class="returnvalue">GBookmarkFile</span></a> *bookmark,
154
 
                                                         const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> *uri,
155
 
                                                         const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> *href,
156
 
                                                         const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> *mime_type);
157
 
<span class="returnvalue">void</span>                <a class="link" href="glib-Bookmark-file-parser.html#g-bookmark-file-set-added" title="g_bookmark_file_set_added ()">g_bookmark_file_set_added</a>           (<a class="link" href="glib-Bookmark-file-parser.html#GBookmarkFile" title="GBookmarkFile"><span class="returnvalue">GBookmarkFile</span></a> *bookmark,
158
 
                                                         const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> *uri,
159
 
                                                         <span class="returnvalue">time_t</span> added);
160
 
<span class="returnvalue">void</span>                <a class="link" href="glib-Bookmark-file-parser.html#g-bookmark-file-set-groups" title="g_bookmark_file_set_groups ()">g_bookmark_file_set_groups</a>          (<a class="link" href="glib-Bookmark-file-parser.html#GBookmarkFile" title="GBookmarkFile"><span class="returnvalue">GBookmarkFile</span></a> *bookmark,
161
 
                                                         const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> *uri,
162
 
                                                         const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> **groups,
163
 
                                                         <a class="link" href="glib-Basic-Types.html#gsize" title="gsize"><span class="returnvalue">gsize</span></a> length);
164
 
<span class="returnvalue">void</span>                <a class="link" href="glib-Bookmark-file-parser.html#g-bookmark-file-set-modified" title="g_bookmark_file_set_modified ()">g_bookmark_file_set_modified</a>        (<a class="link" href="glib-Bookmark-file-parser.html#GBookmarkFile" title="GBookmarkFile"><span class="returnvalue">GBookmarkFile</span></a> *bookmark,
165
 
                                                         const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> *uri,
166
 
                                                         <span class="returnvalue">time_t</span> modified);
167
 
<span class="returnvalue">void</span>                <a class="link" href="glib-Bookmark-file-parser.html#g-bookmark-file-set-visited" title="g_bookmark_file_set_visited ()">g_bookmark_file_set_visited</a>         (<a class="link" href="glib-Bookmark-file-parser.html#GBookmarkFile" title="GBookmarkFile"><span class="returnvalue">GBookmarkFile</span></a> *bookmark,
168
 
                                                         const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> *uri,
169
 
                                                         <span class="returnvalue">time_t</span> visited);
170
 
<a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="returnvalue">gboolean</span></a>            <a class="link" href="glib-Bookmark-file-parser.html#g-bookmark-file-set-app-info" title="g_bookmark_file_set_app_info ()">g_bookmark_file_set_app_info</a>        (<a class="link" href="glib-Bookmark-file-parser.html#GBookmarkFile" title="GBookmarkFile"><span class="returnvalue">GBookmarkFile</span></a> *bookmark,
171
 
                                                         const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> *uri,
172
 
                                                         const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> *name,
173
 
                                                         const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> *exec,
174
 
                                                         <a class="link" href="glib-Basic-Types.html#gint" title="gint"><span class="returnvalue">gint</span></a> count,
175
 
                                                         <span class="returnvalue">time_t</span> stamp,
176
 
                                                         <a class="link" href="glib-Error-Reporting.html#GError" title="GError"><span class="returnvalue">GError</span></a> **error);
177
 
<span class="returnvalue">void</span>                <a class="link" href="glib-Bookmark-file-parser.html#g-bookmark-file-add-group" title="g_bookmark_file_add_group ()">g_bookmark_file_add_group</a>           (<a class="link" href="glib-Bookmark-file-parser.html#GBookmarkFile" title="GBookmarkFile"><span class="returnvalue">GBookmarkFile</span></a> *bookmark,
178
 
                                                         const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> *uri,
179
 
                                                         const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> *group);
180
 
<span class="returnvalue">void</span>                <a class="link" href="glib-Bookmark-file-parser.html#g-bookmark-file-add-application" title="g_bookmark_file_add_application ()">g_bookmark_file_add_application</a>     (<a class="link" href="glib-Bookmark-file-parser.html#GBookmarkFile" title="GBookmarkFile"><span class="returnvalue">GBookmarkFile</span></a> *bookmark,
181
 
                                                         const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> *uri,
182
 
                                                         const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> *name,
183
 
                                                         const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> *exec);
184
 
<a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="returnvalue">gboolean</span></a>            <a class="link" href="glib-Bookmark-file-parser.html#g-bookmark-file-remove-group" title="g_bookmark_file_remove_group ()">g_bookmark_file_remove_group</a>        (<a class="link" href="glib-Bookmark-file-parser.html#GBookmarkFile" title="GBookmarkFile"><span class="returnvalue">GBookmarkFile</span></a> *bookmark,
185
 
                                                         const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> *uri,
186
 
                                                         const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> *group,
187
 
                                                         <a class="link" href="glib-Error-Reporting.html#GError" title="GError"><span class="returnvalue">GError</span></a> **error);
188
 
<a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="returnvalue">gboolean</span></a>            <a class="link" href="glib-Bookmark-file-parser.html#g-bookmark-file-remove-application" title="g_bookmark_file_remove_application ()">g_bookmark_file_remove_application</a>  (<a class="link" href="glib-Bookmark-file-parser.html#GBookmarkFile" title="GBookmarkFile"><span class="returnvalue">GBookmarkFile</span></a> *bookmark,
189
 
                                                         const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> *uri,
190
 
                                                         const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> *name,
191
 
                                                         <a class="link" href="glib-Error-Reporting.html#GError" title="GError"><span class="returnvalue">GError</span></a> **error);
192
 
<a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="returnvalue">gboolean</span></a>            <a class="link" href="glib-Bookmark-file-parser.html#g-bookmark-file-remove-item" title="g_bookmark_file_remove_item ()">g_bookmark_file_remove_item</a>         (<a class="link" href="glib-Bookmark-file-parser.html#GBookmarkFile" title="GBookmarkFile"><span class="returnvalue">GBookmarkFile</span></a> *bookmark,
193
 
                                                         const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> *uri,
194
 
                                                         <a class="link" href="glib-Error-Reporting.html#GError" title="GError"><span class="returnvalue">GError</span></a> **error);
195
 
<a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="returnvalue">gboolean</span></a>            <a class="link" href="glib-Bookmark-file-parser.html#g-bookmark-file-move-item" title="g_bookmark_file_move_item ()">g_bookmark_file_move_item</a>           (<a class="link" href="glib-Bookmark-file-parser.html#GBookmarkFile" title="GBookmarkFile"><span class="returnvalue">GBookmarkFile</span></a> *bookmark,
196
 
                                                         const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> *old_uri,
197
 
                                                         const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> *new_uri,
198
 
                                                         <a class="link" href="glib-Error-Reporting.html#GError" title="GError"><span class="returnvalue">GError</span></a> **error);
 
67
<a class="link" href="glib-Bookmark-file-parser.html#GBookmarkFile" title="GBookmarkFile">GBookmarkFile</a> *     <a class="link" href="glib-Bookmark-file-parser.html#g-bookmark-file-new" title="g_bookmark_file_new ()">g_bookmark_file_new</a>                 (void);
 
68
void                <a class="link" href="glib-Bookmark-file-parser.html#g-bookmark-file-free" title="g_bookmark_file_free ()">g_bookmark_file_free</a>                (<a class="link" href="glib-Bookmark-file-parser.html#GBookmarkFile" title="GBookmarkFile">GBookmarkFile</a> *bookmark);
 
69
<a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean">gboolean</a>            <a class="link" href="glib-Bookmark-file-parser.html#g-bookmark-file-load-from-file" title="g_bookmark_file_load_from_file ()">g_bookmark_file_load_from_file</a>      (<a class="link" href="glib-Bookmark-file-parser.html#GBookmarkFile" title="GBookmarkFile">GBookmarkFile</a> *bookmark,
 
70
                                                         const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar">gchar</a> *filename,
 
71
                                                         <a class="link" href="glib-Error-Reporting.html#GError" title="GError">GError</a> **error);
 
72
<a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean">gboolean</a>            <a class="link" href="glib-Bookmark-file-parser.html#g-bookmark-file-load-from-data" title="g_bookmark_file_load_from_data ()">g_bookmark_file_load_from_data</a>      (<a class="link" href="glib-Bookmark-file-parser.html#GBookmarkFile" title="GBookmarkFile">GBookmarkFile</a> *bookmark,
 
73
                                                         const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar">gchar</a> *data,
 
74
                                                         <a class="link" href="glib-Basic-Types.html#gsize" title="gsize">gsize</a> length,
 
75
                                                         <a class="link" href="glib-Error-Reporting.html#GError" title="GError">GError</a> **error);
 
76
<a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean">gboolean</a>            <a class="link" href="glib-Bookmark-file-parser.html#g-bookmark-file-load-from-data-dirs" title="g_bookmark_file_load_from_data_dirs ()">g_bookmark_file_load_from_data_dirs</a> (<a class="link" href="glib-Bookmark-file-parser.html#GBookmarkFile" title="GBookmarkFile">GBookmarkFile</a> *bookmark,
 
77
                                                         const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar">gchar</a> *file,
 
78
                                                         <a class="link" href="glib-Basic-Types.html#gchar" title="gchar">gchar</a> **full_path,
 
79
                                                         <a class="link" href="glib-Error-Reporting.html#GError" title="GError">GError</a> **error);
 
80
<a class="link" href="glib-Basic-Types.html#gchar" title="gchar">gchar</a> *             <a class="link" href="glib-Bookmark-file-parser.html#g-bookmark-file-to-data" title="g_bookmark_file_to_data ()">g_bookmark_file_to_data</a>             (<a class="link" href="glib-Bookmark-file-parser.html#GBookmarkFile" title="GBookmarkFile">GBookmarkFile</a> *bookmark,
 
81
                                                         <a class="link" href="glib-Basic-Types.html#gsize" title="gsize">gsize</a> *length,
 
82
                                                         <a class="link" href="glib-Error-Reporting.html#GError" title="GError">GError</a> **error);
 
83
<a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean">gboolean</a>            <a class="link" href="glib-Bookmark-file-parser.html#g-bookmark-file-to-file" title="g_bookmark_file_to_file ()">g_bookmark_file_to_file</a>             (<a class="link" href="glib-Bookmark-file-parser.html#GBookmarkFile" title="GBookmarkFile">GBookmarkFile</a> *bookmark,
 
84
                                                         const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar">gchar</a> *filename,
 
85
                                                         <a class="link" href="glib-Error-Reporting.html#GError" title="GError">GError</a> **error);
 
86
<a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean">gboolean</a>            <a class="link" href="glib-Bookmark-file-parser.html#g-bookmark-file-has-item" title="g_bookmark_file_has_item ()">g_bookmark_file_has_item</a>            (<a class="link" href="glib-Bookmark-file-parser.html#GBookmarkFile" title="GBookmarkFile">GBookmarkFile</a> *bookmark,
 
87
                                                         const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar">gchar</a> *uri);
 
88
<a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean">gboolean</a>            <a class="link" href="glib-Bookmark-file-parser.html#g-bookmark-file-has-group" title="g_bookmark_file_has_group ()">g_bookmark_file_has_group</a>           (<a class="link" href="glib-Bookmark-file-parser.html#GBookmarkFile" title="GBookmarkFile">GBookmarkFile</a> *bookmark,
 
89
                                                         const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar">gchar</a> *uri,
 
90
                                                         const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar">gchar</a> *group,
 
91
                                                         <a class="link" href="glib-Error-Reporting.html#GError" title="GError">GError</a> **error);
 
92
<a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean">gboolean</a>            <a class="link" href="glib-Bookmark-file-parser.html#g-bookmark-file-has-application" title="g_bookmark_file_has_application ()">g_bookmark_file_has_application</a>     (<a class="link" href="glib-Bookmark-file-parser.html#GBookmarkFile" title="GBookmarkFile">GBookmarkFile</a> *bookmark,
 
93
                                                         const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar">gchar</a> *uri,
 
94
                                                         const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar">gchar</a> *name,
 
95
                                                         <a class="link" href="glib-Error-Reporting.html#GError" title="GError">GError</a> **error);
 
96
<a class="link" href="glib-Basic-Types.html#gint" title="gint">gint</a>                <a class="link" href="glib-Bookmark-file-parser.html#g-bookmark-file-get-size" title="g_bookmark_file_get_size ()">g_bookmark_file_get_size</a>            (<a class="link" href="glib-Bookmark-file-parser.html#GBookmarkFile" title="GBookmarkFile">GBookmarkFile</a> *bookmark);
 
97
<a class="link" href="glib-Basic-Types.html#gchar" title="gchar">gchar</a> **            <a class="link" href="glib-Bookmark-file-parser.html#g-bookmark-file-get-uris" title="g_bookmark_file_get_uris ()">g_bookmark_file_get_uris</a>            (<a class="link" href="glib-Bookmark-file-parser.html#GBookmarkFile" title="GBookmarkFile">GBookmarkFile</a> *bookmark,
 
98
                                                         <a class="link" href="glib-Basic-Types.html#gsize" title="gsize">gsize</a> *length);
 
99
 
 
100
<a class="link" href="glib-Basic-Types.html#gchar" title="gchar">gchar</a> *             <a class="link" href="glib-Bookmark-file-parser.html#g-bookmark-file-get-title" title="g_bookmark_file_get_title ()">g_bookmark_file_get_title</a>           (<a class="link" href="glib-Bookmark-file-parser.html#GBookmarkFile" title="GBookmarkFile">GBookmarkFile</a> *bookmark,
 
101
                                                         const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar">gchar</a> *uri,
 
102
                                                         <a class="link" href="glib-Error-Reporting.html#GError" title="GError">GError</a> **error);
 
103
<a class="link" href="glib-Basic-Types.html#gchar" title="gchar">gchar</a> *             <a class="link" href="glib-Bookmark-file-parser.html#g-bookmark-file-get-description" title="g_bookmark_file_get_description ()">g_bookmark_file_get_description</a>     (<a class="link" href="glib-Bookmark-file-parser.html#GBookmarkFile" title="GBookmarkFile">GBookmarkFile</a> *bookmark,
 
104
                                                         const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar">gchar</a> *uri,
 
105
                                                         <a class="link" href="glib-Error-Reporting.html#GError" title="GError">GError</a> **error);
 
106
<a class="link" href="glib-Basic-Types.html#gchar" title="gchar">gchar</a> *             <a class="link" href="glib-Bookmark-file-parser.html#g-bookmark-file-get-mime-type" title="g_bookmark_file_get_mime_type ()">g_bookmark_file_get_mime_type</a>       (<a class="link" href="glib-Bookmark-file-parser.html#GBookmarkFile" title="GBookmarkFile">GBookmarkFile</a> *bookmark,
 
107
                                                         const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar">gchar</a> *uri,
 
108
                                                         <a class="link" href="glib-Error-Reporting.html#GError" title="GError">GError</a> **error);
 
109
<a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean">gboolean</a>            <a class="link" href="glib-Bookmark-file-parser.html#g-bookmark-file-get-is-private" title="g_bookmark_file_get_is_private ()">g_bookmark_file_get_is_private</a>      (<a class="link" href="glib-Bookmark-file-parser.html#GBookmarkFile" title="GBookmarkFile">GBookmarkFile</a> *bookmark,
 
110
                                                         const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar">gchar</a> *uri,
 
111
                                                         <a class="link" href="glib-Error-Reporting.html#GError" title="GError">GError</a> **error);
 
112
<a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean">gboolean</a>            <a class="link" href="glib-Bookmark-file-parser.html#g-bookmark-file-get-icon" title="g_bookmark_file_get_icon ()">g_bookmark_file_get_icon</a>            (<a class="link" href="glib-Bookmark-file-parser.html#GBookmarkFile" title="GBookmarkFile">GBookmarkFile</a> *bookmark,
 
113
                                                         const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar">gchar</a> *uri,
 
114
                                                         <a class="link" href="glib-Basic-Types.html#gchar" title="gchar">gchar</a> **href,
 
115
                                                         <a class="link" href="glib-Basic-Types.html#gchar" title="gchar">gchar</a> **mime_type,
 
116
                                                         <a class="link" href="glib-Error-Reporting.html#GError" title="GError">GError</a> **error);
 
117
time_t              <a class="link" href="glib-Bookmark-file-parser.html#g-bookmark-file-get-added" title="g_bookmark_file_get_added ()">g_bookmark_file_get_added</a>           (<a class="link" href="glib-Bookmark-file-parser.html#GBookmarkFile" title="GBookmarkFile">GBookmarkFile</a> *bookmark,
 
118
                                                         const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar">gchar</a> *uri,
 
119
                                                         <a class="link" href="glib-Error-Reporting.html#GError" title="GError">GError</a> **error);
 
120
time_t              <a class="link" href="glib-Bookmark-file-parser.html#g-bookmark-file-get-modified" title="g_bookmark_file_get_modified ()">g_bookmark_file_get_modified</a>        (<a class="link" href="glib-Bookmark-file-parser.html#GBookmarkFile" title="GBookmarkFile">GBookmarkFile</a> *bookmark,
 
121
                                                         const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar">gchar</a> *uri,
 
122
                                                         <a class="link" href="glib-Error-Reporting.html#GError" title="GError">GError</a> **error);
 
123
time_t              <a class="link" href="glib-Bookmark-file-parser.html#g-bookmark-file-get-visited" title="g_bookmark_file_get_visited ()">g_bookmark_file_get_visited</a>         (<a class="link" href="glib-Bookmark-file-parser.html#GBookmarkFile" title="GBookmarkFile">GBookmarkFile</a> *bookmark,
 
124
                                                         const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar">gchar</a> *uri,
 
125
                                                         <a class="link" href="glib-Error-Reporting.html#GError" title="GError">GError</a> **error);
 
126
<a class="link" href="glib-Basic-Types.html#gchar" title="gchar">gchar</a> **            <a class="link" href="glib-Bookmark-file-parser.html#g-bookmark-file-get-groups" title="g_bookmark_file_get_groups ()">g_bookmark_file_get_groups</a>          (<a class="link" href="glib-Bookmark-file-parser.html#GBookmarkFile" title="GBookmarkFile">GBookmarkFile</a> *bookmark,
 
127
                                                         const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar">gchar</a> *uri,
 
128
                                                         <a class="link" href="glib-Basic-Types.html#gsize" title="gsize">gsize</a> *length,
 
129
                                                         <a class="link" href="glib-Error-Reporting.html#GError" title="GError">GError</a> **error);
 
130
<a class="link" href="glib-Basic-Types.html#gchar" title="gchar">gchar</a> **            <a class="link" href="glib-Bookmark-file-parser.html#g-bookmark-file-get-applications" title="g_bookmark_file_get_applications ()">g_bookmark_file_get_applications</a>    (<a class="link" href="glib-Bookmark-file-parser.html#GBookmarkFile" title="GBookmarkFile">GBookmarkFile</a> *bookmark,
 
131
                                                         const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar">gchar</a> *uri,
 
132
                                                         <a class="link" href="glib-Basic-Types.html#gsize" title="gsize">gsize</a> *length,
 
133
                                                         <a class="link" href="glib-Error-Reporting.html#GError" title="GError">GError</a> **error);
 
134
<a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean">gboolean</a>            <a class="link" href="glib-Bookmark-file-parser.html#g-bookmark-file-get-app-info" title="g_bookmark_file_get_app_info ()">g_bookmark_file_get_app_info</a>        (<a class="link" href="glib-Bookmark-file-parser.html#GBookmarkFile" title="GBookmarkFile">GBookmarkFile</a> *bookmark,
 
135
                                                         const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar">gchar</a> *uri,
 
136
                                                         const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar">gchar</a> *name,
 
137
                                                         <a class="link" href="glib-Basic-Types.html#gchar" title="gchar">gchar</a> **exec,
 
138
                                                         <a class="link" href="glib-Basic-Types.html#guint" title="guint">guint</a> *count,
 
139
                                                         time_t *stamp,
 
140
                                                         <a class="link" href="glib-Error-Reporting.html#GError" title="GError">GError</a> **error);
 
141
 
 
142
void                <a class="link" href="glib-Bookmark-file-parser.html#g-bookmark-file-set-title" title="g_bookmark_file_set_title ()">g_bookmark_file_set_title</a>           (<a class="link" href="glib-Bookmark-file-parser.html#GBookmarkFile" title="GBookmarkFile">GBookmarkFile</a> *bookmark,
 
143
                                                         const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar">gchar</a> *uri,
 
144
                                                         const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar">gchar</a> *title);
 
145
void                <a class="link" href="glib-Bookmark-file-parser.html#g-bookmark-file-set-description" title="g_bookmark_file_set_description ()">g_bookmark_file_set_description</a>     (<a class="link" href="glib-Bookmark-file-parser.html#GBookmarkFile" title="GBookmarkFile">GBookmarkFile</a> *bookmark,
 
146
                                                         const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar">gchar</a> *uri,
 
147
                                                         const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar">gchar</a> *description);
 
148
void                <a class="link" href="glib-Bookmark-file-parser.html#g-bookmark-file-set-mime-type" title="g_bookmark_file_set_mime_type ()">g_bookmark_file_set_mime_type</a>       (<a class="link" href="glib-Bookmark-file-parser.html#GBookmarkFile" title="GBookmarkFile">GBookmarkFile</a> *bookmark,
 
149
                                                         const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar">gchar</a> *uri,
 
150
                                                         const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar">gchar</a> *mime_type);
 
151
void                <a class="link" href="glib-Bookmark-file-parser.html#g-bookmark-file-set-is-private" title="g_bookmark_file_set_is_private ()">g_bookmark_file_set_is_private</a>      (<a class="link" href="glib-Bookmark-file-parser.html#GBookmarkFile" title="GBookmarkFile">GBookmarkFile</a> *bookmark,
 
152
                                                         const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar">gchar</a> *uri,
 
153
                                                         <a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean">gboolean</a> is_private);
 
154
void                <a class="link" href="glib-Bookmark-file-parser.html#g-bookmark-file-set-icon" title="g_bookmark_file_set_icon ()">g_bookmark_file_set_icon</a>            (<a class="link" href="glib-Bookmark-file-parser.html#GBookmarkFile" title="GBookmarkFile">GBookmarkFile</a> *bookmark,
 
155
                                                         const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar">gchar</a> *uri,
 
156
                                                         const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar">gchar</a> *href,
 
157
                                                         const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar">gchar</a> *mime_type);
 
158
void                <a class="link" href="glib-Bookmark-file-parser.html#g-bookmark-file-set-added" title="g_bookmark_file_set_added ()">g_bookmark_file_set_added</a>           (<a class="link" href="glib-Bookmark-file-parser.html#GBookmarkFile" title="GBookmarkFile">GBookmarkFile</a> *bookmark,
 
159
                                                         const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar">gchar</a> *uri,
 
160
                                                         time_t added);
 
161
void                <a class="link" href="glib-Bookmark-file-parser.html#g-bookmark-file-set-groups" title="g_bookmark_file_set_groups ()">g_bookmark_file_set_groups</a>          (<a class="link" href="glib-Bookmark-file-parser.html#GBookmarkFile" title="GBookmarkFile">GBookmarkFile</a> *bookmark,
 
162
                                                         const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar">gchar</a> *uri,
 
163
                                                         const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar">gchar</a> **groups,
 
164
                                                         <a class="link" href="glib-Basic-Types.html#gsize" title="gsize">gsize</a> length);
 
165
void                <a class="link" href="glib-Bookmark-file-parser.html#g-bookmark-file-set-modified" title="g_bookmark_file_set_modified ()">g_bookmark_file_set_modified</a>        (<a class="link" href="glib-Bookmark-file-parser.html#GBookmarkFile" title="GBookmarkFile">GBookmarkFile</a> *bookmark,
 
166
                                                         const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar">gchar</a> *uri,
 
167
                                                         time_t modified);
 
168
void                <a class="link" href="glib-Bookmark-file-parser.html#g-bookmark-file-set-visited" title="g_bookmark_file_set_visited ()">g_bookmark_file_set_visited</a>         (<a class="link" href="glib-Bookmark-file-parser.html#GBookmarkFile" title="GBookmarkFile">GBookmarkFile</a> *bookmark,
 
169
                                                         const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar">gchar</a> *uri,
 
170
                                                         time_t visited);
 
171
<a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean">gboolean</a>            <a class="link" href="glib-Bookmark-file-parser.html#g-bookmark-file-set-app-info" title="g_bookmark_file_set_app_info ()">g_bookmark_file_set_app_info</a>        (<a class="link" href="glib-Bookmark-file-parser.html#GBookmarkFile" title="GBookmarkFile">GBookmarkFile</a> *bookmark,
 
172
                                                         const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar">gchar</a> *uri,
 
173
                                                         const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar">gchar</a> *name,
 
174
                                                         const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar">gchar</a> *exec,
 
175
                                                         <a class="link" href="glib-Basic-Types.html#gint" title="gint">gint</a> count,
 
176
                                                         time_t stamp,
 
177
                                                         <a class="link" href="glib-Error-Reporting.html#GError" title="GError">GError</a> **error);
 
178
void                <a class="link" href="glib-Bookmark-file-parser.html#g-bookmark-file-add-group" title="g_bookmark_file_add_group ()">g_bookmark_file_add_group</a>           (<a class="link" href="glib-Bookmark-file-parser.html#GBookmarkFile" title="GBookmarkFile">GBookmarkFile</a> *bookmark,
 
179
                                                         const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar">gchar</a> *uri,
 
180
                                                         const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar">gchar</a> *group);
 
181
void                <a class="link" href="glib-Bookmark-file-parser.html#g-bookmark-file-add-application" title="g_bookmark_file_add_application ()">g_bookmark_file_add_application</a>     (<a class="link" href="glib-Bookmark-file-parser.html#GBookmarkFile" title="GBookmarkFile">GBookmarkFile</a> *bookmark,
 
182
                                                         const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar">gchar</a> *uri,
 
183
                                                         const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar">gchar</a> *name,
 
184
                                                         const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar">gchar</a> *exec);
 
185
<a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean">gboolean</a>            <a class="link" href="glib-Bookmark-file-parser.html#g-bookmark-file-remove-group" title="g_bookmark_file_remove_group ()">g_bookmark_file_remove_group</a>        (<a class="link" href="glib-Bookmark-file-parser.html#GBookmarkFile" title="GBookmarkFile">GBookmarkFile</a> *bookmark,
 
186
                                                         const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar">gchar</a> *uri,
 
187
                                                         const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar">gchar</a> *group,
 
188
                                                         <a class="link" href="glib-Error-Reporting.html#GError" title="GError">GError</a> **error);
 
189
<a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean">gboolean</a>            <a class="link" href="glib-Bookmark-file-parser.html#g-bookmark-file-remove-application" title="g_bookmark_file_remove_application ()">g_bookmark_file_remove_application</a>  (<a class="link" href="glib-Bookmark-file-parser.html#GBookmarkFile" title="GBookmarkFile">GBookmarkFile</a> *bookmark,
 
190
                                                         const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar">gchar</a> *uri,
 
191
                                                         const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar">gchar</a> *name,
 
192
                                                         <a class="link" href="glib-Error-Reporting.html#GError" title="GError">GError</a> **error);
 
193
<a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean">gboolean</a>            <a class="link" href="glib-Bookmark-file-parser.html#g-bookmark-file-remove-item" title="g_bookmark_file_remove_item ()">g_bookmark_file_remove_item</a>         (<a class="link" href="glib-Bookmark-file-parser.html#GBookmarkFile" title="GBookmarkFile">GBookmarkFile</a> *bookmark,
 
194
                                                         const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar">gchar</a> *uri,
 
195
                                                         <a class="link" href="glib-Error-Reporting.html#GError" title="GError">GError</a> **error);
 
196
<a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean">gboolean</a>            <a class="link" href="glib-Bookmark-file-parser.html#g-bookmark-file-move-item" title="g_bookmark_file_move_item ()">g_bookmark_file_move_item</a>           (<a class="link" href="glib-Bookmark-file-parser.html#GBookmarkFile" title="GBookmarkFile">GBookmarkFile</a> *bookmark,
 
197
                                                         const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar">gchar</a> *old_uri,
 
198
                                                         const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar">gchar</a> *new_uri,
 
199
                                                         <a class="link" href="glib-Error-Reporting.html#GError" title="GError">GError</a> **error);
199
200
</pre>
200
201
</div>
201
202
<div class="refsect1" title="Description">
282
283
</div>
283
284
<hr>
284
285
<div class="refsect2" title="G_BOOKMARK_FILE_ERROR">
285
 
<a name="G-BOOKMARK-FILE-ERROR:CAPS"></a><h3>G_BOOKMARK_FILE_ERROR</h3>
286
 
<pre class="programlisting">#define             G_BOOKMARK_FILE_ERROR</pre>
 
286
<a name="G-BOOKMARK-FILE-ERROR--CAPS"></a><h3>G_BOOKMARK_FILE_ERROR</h3>
 
287
<pre class="programlisting">#define G_BOOKMARK_FILE_ERROR       (g_bookmark_file_error_quark ())
 
288
</pre>
287
289
<p>
288
290
Error domain for bookmark file parsing. Errors in this domain will be
289
291
from the <a class="link" href="glib-Bookmark-file-parser.html#GBookmarkFileError" title="enum GBookmarkFileError"><span class="type">GBookmarkFileError</span></a> enumeration. See <a class="link" href="glib-Error-Reporting.html#GError" title="GError"><span class="type">GError</span></a> for informations
312
314
<col align="left" valign="top">
313
315
<tbody>
314
316
<tr>
315
 
<td><p><a name="G-BOOKMARK-FILE-ERROR-INVALID-URI:CAPS"></a><span class="term"><code class="literal">G_BOOKMARK_FILE_ERROR_INVALID_URI</code></span></p></td>
 
317
<td><p><a name="G-BOOKMARK-FILE-ERROR-INVALID-URI--CAPS"></a><span class="term"><code class="literal">G_BOOKMARK_FILE_ERROR_INVALID_URI</code></span></p></td>
316
318
<td>URI was ill-formed
317
319
</td>
318
320
</tr>
319
321
<tr>
320
 
<td><p><a name="G-BOOKMARK-FILE-ERROR-INVALID-VALUE:CAPS"></a><span class="term"><code class="literal">G_BOOKMARK_FILE_ERROR_INVALID_VALUE</code></span></p></td>
 
322
<td><p><a name="G-BOOKMARK-FILE-ERROR-INVALID-VALUE--CAPS"></a><span class="term"><code class="literal">G_BOOKMARK_FILE_ERROR_INVALID_VALUE</code></span></p></td>
321
323
<td>a requested field was not found
322
324
</td>
323
325
</tr>
324
326
<tr>
325
 
<td><p><a name="G-BOOKMARK-FILE-ERROR-APP-NOT-REGISTERED:CAPS"></a><span class="term"><code class="literal">G_BOOKMARK_FILE_ERROR_APP_NOT_REGISTERED</code></span></p></td>
 
327
<td><p><a name="G-BOOKMARK-FILE-ERROR-APP-NOT-REGISTERED--CAPS"></a><span class="term"><code class="literal">G_BOOKMARK_FILE_ERROR_APP_NOT_REGISTERED</code></span></p></td>
326
328
<td>a requested application did not
327
329
register a bookmark
328
330
</td>
329
331
</tr>
330
332
<tr>
331
 
<td><p><a name="G-BOOKMARK-FILE-ERROR-URI-NOT-FOUND:CAPS"></a><span class="term"><code class="literal">G_BOOKMARK_FILE_ERROR_URI_NOT_FOUND</code></span></p></td>
 
333
<td><p><a name="G-BOOKMARK-FILE-ERROR-URI-NOT-FOUND--CAPS"></a><span class="term"><code class="literal">G_BOOKMARK_FILE_ERROR_URI_NOT_FOUND</code></span></p></td>
332
334
<td>a requested URI was not found
333
335
</td>
334
336
</tr>
335
337
<tr>
336
 
<td><p><a name="G-BOOKMARK-FILE-ERROR-READ:CAPS"></a><span class="term"><code class="literal">G_BOOKMARK_FILE_ERROR_READ</code></span></p></td>
 
338
<td><p><a name="G-BOOKMARK-FILE-ERROR-READ--CAPS"></a><span class="term"><code class="literal">G_BOOKMARK_FILE_ERROR_READ</code></span></p></td>
337
339
<td>document was ill formed
338
340
</td>
339
341
</tr>
340
342
<tr>
341
 
<td><p><a name="G-BOOKMARK-FILE-ERROR-UNKNOWN-ENCODING:CAPS"></a><span class="term"><code class="literal">G_BOOKMARK_FILE_ERROR_UNKNOWN_ENCODING</code></span></p></td>
 
343
<td><p><a name="G-BOOKMARK-FILE-ERROR-UNKNOWN-ENCODING--CAPS"></a><span class="term"><code class="literal">G_BOOKMARK_FILE_ERROR_UNKNOWN_ENCODING</code></span></p></td>
342
344
<td>the text being parsed was in an
343
345
unknown encoding
344
346
</td>
345
347
</tr>
346
348
<tr>
347
 
<td><p><a name="G-BOOKMARK-FILE-ERROR-WRITE:CAPS"></a><span class="term"><code class="literal">G_BOOKMARK_FILE_ERROR_WRITE</code></span></p></td>
 
349
<td><p><a name="G-BOOKMARK-FILE-ERROR-WRITE--CAPS"></a><span class="term"><code class="literal">G_BOOKMARK_FILE_ERROR_WRITE</code></span></p></td>
348
350
<td>an error occurred while writing
349
351
</td>
350
352
</tr>
351
353
<tr>
352
 
<td><p><a name="G-BOOKMARK-FILE-ERROR-FILE-NOT-FOUND:CAPS"></a><span class="term"><code class="literal">G_BOOKMARK_FILE_ERROR_FILE_NOT_FOUND</code></span></p></td>
 
354
<td><p><a name="G-BOOKMARK-FILE-ERROR-FILE-NOT-FOUND--CAPS"></a><span class="term"><code class="literal">G_BOOKMARK_FILE_ERROR_FILE_NOT_FOUND</code></span></p></td>
353
355
<td>requested file was not found
354
356
</td>
355
357
</tr>
359
361
<hr>
360
362
<div class="refsect2" title="g_bookmark_file_new ()">
361
363
<a name="g-bookmark-file-new"></a><h3>g_bookmark_file_new ()</h3>
362
 
<pre class="programlisting"><a class="link" href="glib-Bookmark-file-parser.html#GBookmarkFile" title="GBookmarkFile"><span class="returnvalue">GBookmarkFile</span></a> *     g_bookmark_file_new                 (void);</pre>
 
364
<pre class="programlisting"><a class="link" href="glib-Bookmark-file-parser.html#GBookmarkFile" title="GBookmarkFile">GBookmarkFile</a> *     g_bookmark_file_new                 (void);</pre>
363
365
<p>
364
366
Creates a new empty <a class="link" href="glib-Bookmark-file-parser.html#GBookmarkFile" title="GBookmarkFile"><span class="type">GBookmarkFile</span></a> object.
365
367
</p>
367
369
Use <a class="link" href="glib-Bookmark-file-parser.html#g-bookmark-file-load-from-file" title="g_bookmark_file_load_from_file ()"><code class="function">g_bookmark_file_load_from_file()</code></a>, <a class="link" href="glib-Bookmark-file-parser.html#g-bookmark-file-load-from-data" title="g_bookmark_file_load_from_data ()"><code class="function">g_bookmark_file_load_from_data()</code></a>
368
370
or <a class="link" href="glib-Bookmark-file-parser.html#g-bookmark-file-load-from-data-dirs" title="g_bookmark_file_load_from_data_dirs ()"><code class="function">g_bookmark_file_load_from_data_dirs()</code></a> to read an existing bookmark
369
371
file.</p>
 
372
<p>
 
373
</p>
370
374
<div class="variablelist"><table border="0">
371
375
<col align="left" valign="top">
372
376
<tbody><tr>
381
385
<hr>
382
386
<div class="refsect2" title="g_bookmark_file_free ()">
383
387
<a name="g-bookmark-file-free"></a><h3>g_bookmark_file_free ()</h3>
384
 
<pre class="programlisting"><span class="returnvalue">void</span>                g_bookmark_file_free                (<a class="link" href="glib-Bookmark-file-parser.html#GBookmarkFile" title="GBookmarkFile"><span class="returnvalue">GBookmarkFile</span></a> *bookmark);</pre>
 
388
<pre class="programlisting">void                g_bookmark_file_free                (<a class="link" href="glib-Bookmark-file-parser.html#GBookmarkFile" title="GBookmarkFile">GBookmarkFile</a> *bookmark);</pre>
385
389
<p>
386
390
Frees a <a class="link" href="glib-Bookmark-file-parser.html#GBookmarkFile" title="GBookmarkFile"><span class="type">GBookmarkFile</span></a>.</p>
 
391
<p>
 
392
</p>
387
393
<div class="variablelist"><table border="0">
388
394
<col align="left" valign="top">
389
395
<tbody><tr>
397
403
<hr>
398
404
<div class="refsect2" title="g_bookmark_file_load_from_file ()">
399
405
<a name="g-bookmark-file-load-from-file"></a><h3>g_bookmark_file_load_from_file ()</h3>
400
 
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="returnvalue">gboolean</span></a>            g_bookmark_file_load_from_file      (<a class="link" href="glib-Bookmark-file-parser.html#GBookmarkFile" title="GBookmarkFile"><span class="returnvalue">GBookmarkFile</span></a> *bookmark,
401
 
                                                         const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> *filename,
402
 
                                                         <a class="link" href="glib-Error-Reporting.html#GError" title="GError"><span class="returnvalue">GError</span></a> **error);</pre>
 
406
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean">gboolean</a>            g_bookmark_file_load_from_file      (<a class="link" href="glib-Bookmark-file-parser.html#GBookmarkFile" title="GBookmarkFile">GBookmarkFile</a> *bookmark,
 
407
                                                         const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar">gchar</a> *filename,
 
408
                                                         <a class="link" href="glib-Error-Reporting.html#GError" title="GError">GError</a> **error);</pre>
403
409
<p>
404
410
Loads a desktop bookmark file into an empty <a class="link" href="glib-Bookmark-file-parser.html#GBookmarkFile" title="GBookmarkFile"><span class="type">GBookmarkFile</span></a> structure.
405
411
If the file could not be loaded then <em class="parameter"><code>error</code></em> is set to either a <a class="link" href="glib-File-Utilities.html#GFileError" title="enum GFileError"><span class="type">GFileError</span></a>
406
412
or <a class="link" href="glib-Bookmark-file-parser.html#GBookmarkFileError" title="enum GBookmarkFileError"><span class="type">GBookmarkFileError</span></a>.</p>
 
413
<p>
 
414
</p>
407
415
<div class="variablelist"><table border="0">
408
416
<col align="left" valign="top">
409
417
<tbody>
419
427
</tr>
420
428
<tr>
421
429
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
422
 
<td> return location for a <a class="link" href="glib-Error-Reporting.html#GError" title="GError"><span class="type">GError</span></a>, or <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>
 
430
<td> return location for a <a class="link" href="glib-Error-Reporting.html#GError" title="GError"><span class="type">GError</span></a>, or <a class="link" href="glib-Standard-Macros.html#NULL--CAPS" title="NULL"><code class="literal">NULL</code></a>
423
431
</td>
424
432
</tr>
425
433
<tr>
426
434
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
427
 
<td> <a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE"><code class="literal">TRUE</code></a> if a desktop bookmark file could be loaded
 
435
<td> <a class="link" href="glib-Standard-Macros.html#TRUE--CAPS" title="TRUE"><code class="literal">TRUE</code></a> if a desktop bookmark file could be loaded
428
436
 
429
437
</td>
430
438
</tr>
435
443
<hr>
436
444
<div class="refsect2" title="g_bookmark_file_load_from_data ()">
437
445
<a name="g-bookmark-file-load-from-data"></a><h3>g_bookmark_file_load_from_data ()</h3>
438
 
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="returnvalue">gboolean</span></a>            g_bookmark_file_load_from_data      (<a class="link" href="glib-Bookmark-file-parser.html#GBookmarkFile" title="GBookmarkFile"><span class="returnvalue">GBookmarkFile</span></a> *bookmark,
439
 
                                                         const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> *data,
440
 
                                                         <a class="link" href="glib-Basic-Types.html#gsize" title="gsize"><span class="returnvalue">gsize</span></a> length,
441
 
                                                         <a class="link" href="glib-Error-Reporting.html#GError" title="GError"><span class="returnvalue">GError</span></a> **error);</pre>
 
446
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean">gboolean</a>            g_bookmark_file_load_from_data      (<a class="link" href="glib-Bookmark-file-parser.html#GBookmarkFile" title="GBookmarkFile">GBookmarkFile</a> *bookmark,
 
447
                                                         const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar">gchar</a> *data,
 
448
                                                         <a class="link" href="glib-Basic-Types.html#gsize" title="gsize">gsize</a> length,
 
449
                                                         <a class="link" href="glib-Error-Reporting.html#GError" title="GError">GError</a> **error);</pre>
442
450
<p>
443
451
Loads a bookmark file from memory into an empty <a class="link" href="glib-Bookmark-file-parser.html#GBookmarkFile" title="GBookmarkFile"><span class="type">GBookmarkFile</span></a>
444
452
structure.  If the object cannot be created then <em class="parameter"><code>error</code></em> is set to a
445
453
<a class="link" href="glib-Bookmark-file-parser.html#GBookmarkFileError" title="enum GBookmarkFileError"><span class="type">GBookmarkFileError</span></a>.</p>
 
454
<p>
 
455
</p>
446
456
<div class="variablelist"><table border="0">
447
457
<col align="left" valign="top">
448
458
<tbody>
463
473
</tr>
464
474
<tr>
465
475
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
466
 
<td> return location for a <a class="link" href="glib-Error-Reporting.html#GError" title="GError"><span class="type">GError</span></a>, or <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>
 
476
<td> return location for a <a class="link" href="glib-Error-Reporting.html#GError" title="GError"><span class="type">GError</span></a>, or <a class="link" href="glib-Standard-Macros.html#NULL--CAPS" title="NULL"><code class="literal">NULL</code></a>
467
477
</td>
468
478
</tr>
469
479
<tr>
470
480
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
471
 
<td> <a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE"><code class="literal">TRUE</code></a> if a desktop bookmark could be loaded.
 
481
<td> <a class="link" href="glib-Standard-Macros.html#TRUE--CAPS" title="TRUE"><code class="literal">TRUE</code></a> if a desktop bookmark could be loaded.
472
482
 
473
483
</td>
474
484
</tr>
479
489
<hr>
480
490
<div class="refsect2" title="g_bookmark_file_load_from_data_dirs ()">
481
491
<a name="g-bookmark-file-load-from-data-dirs"></a><h3>g_bookmark_file_load_from_data_dirs ()</h3>
482
 
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="returnvalue">gboolean</span></a>            g_bookmark_file_load_from_data_dirs (<a class="link" href="glib-Bookmark-file-parser.html#GBookmarkFile" title="GBookmarkFile"><span class="returnvalue">GBookmarkFile</span></a> *bookmark,
483
 
                                                         const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> *file,
484
 
                                                         <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> **full_path,
485
 
                                                         <a class="link" href="glib-Error-Reporting.html#GError" title="GError"><span class="returnvalue">GError</span></a> **error);</pre>
 
492
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean">gboolean</a>            g_bookmark_file_load_from_data_dirs (<a class="link" href="glib-Bookmark-file-parser.html#GBookmarkFile" title="GBookmarkFile">GBookmarkFile</a> *bookmark,
 
493
                                                         const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar">gchar</a> *file,
 
494
                                                         <a class="link" href="glib-Basic-Types.html#gchar" title="gchar">gchar</a> **full_path,
 
495
                                                         <a class="link" href="glib-Error-Reporting.html#GError" title="GError">GError</a> **error);</pre>
486
496
<p>
487
497
This function looks for a desktop bookmark file named <em class="parameter"><code>file</code></em> in the
488
498
paths returned from <a class="link" href="glib-Miscellaneous-Utility-Functions.html#g-get-user-data-dir" title="g_get_user_data_dir ()"><code class="function">g_get_user_data_dir()</code></a> and <a class="link" href="glib-Miscellaneous-Utility-Functions.html#g-get-system-data-dirs" title="g_get_system_data_dirs ()"><code class="function">g_get_system_data_dirs()</code></a>, 
489
499
loads the file into <em class="parameter"><code>bookmark</code></em> and returns the file's full path in 
490
500
<em class="parameter"><code>full_path</code></em>.  If the file could not be loaded then an <code class="literal">error</code> is
491
501
set to either a <a class="link" href="glib-File-Utilities.html#GFileError" title="enum GFileError"><span class="type">GFileError</span></a> or <a class="link" href="glib-Bookmark-file-parser.html#GBookmarkFileError" title="enum GBookmarkFileError"><span class="type">GBookmarkFileError</span></a>.</p>
 
502
<p>
 
503
</p>
492
504
<div class="variablelist"><table border="0">
493
505
<col align="left" valign="top">
494
506
<tbody>
505
517
<tr>
506
518
<td><p><span class="term"><em class="parameter"><code>full_path</code></em> :</span></p></td>
507
519
<td> return location for a string containing the full path
508
 
  of the file, or <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>
 
520
  of the file, or <a class="link" href="glib-Standard-Macros.html#NULL--CAPS" title="NULL"><code class="literal">NULL</code></a>
509
521
</td>
510
522
</tr>
511
523
<tr>
512
524
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
513
 
<td> return location for a <a class="link" href="glib-Error-Reporting.html#GError" title="GError"><span class="type">GError</span></a>, or <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>
 
525
<td> return location for a <a class="link" href="glib-Error-Reporting.html#GError" title="GError"><span class="type">GError</span></a>, or <a class="link" href="glib-Standard-Macros.html#NULL--CAPS" title="NULL"><code class="literal">NULL</code></a>
514
526
</td>
515
527
</tr>
516
528
<tr>
517
529
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
518
 
<td> <a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE"><code class="literal">TRUE</code></a> if a key file could be loaded, <a class="link" href="glib-Standard-Macros.html#FALSE:CAPS" title="FALSE"><code class="literal">FALSE</code></a> othewise
 
530
<td> <a class="link" href="glib-Standard-Macros.html#TRUE--CAPS" title="TRUE"><code class="literal">TRUE</code></a> if a key file could be loaded, <a class="link" href="glib-Standard-Macros.html#FALSE--CAPS" title="FALSE"><code class="literal">FALSE</code></a> othewise
519
531
 
520
532
</td>
521
533
</tr>
526
538
<hr>
527
539
<div class="refsect2" title="g_bookmark_file_to_data ()">
528
540
<a name="g-bookmark-file-to-data"></a><h3>g_bookmark_file_to_data ()</h3>
529
 
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> *             g_bookmark_file_to_data             (<a class="link" href="glib-Bookmark-file-parser.html#GBookmarkFile" title="GBookmarkFile"><span class="returnvalue">GBookmarkFile</span></a> *bookmark,
530
 
                                                         <a class="link" href="glib-Basic-Types.html#gsize" title="gsize"><span class="returnvalue">gsize</span></a> *length,
531
 
                                                         <a class="link" href="glib-Error-Reporting.html#GError" title="GError"><span class="returnvalue">GError</span></a> **error);</pre>
 
541
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gchar" title="gchar">gchar</a> *             g_bookmark_file_to_data             (<a class="link" href="glib-Bookmark-file-parser.html#GBookmarkFile" title="GBookmarkFile">GBookmarkFile</a> *bookmark,
 
542
                                                         <a class="link" href="glib-Basic-Types.html#gsize" title="gsize">gsize</a> *length,
 
543
                                                         <a class="link" href="glib-Error-Reporting.html#GError" title="GError">GError</a> **error);</pre>
532
544
<p>
533
545
This function outputs <em class="parameter"><code>bookmark</code></em> as a string.</p>
 
546
<p>
 
547
</p>
534
548
<div class="variablelist"><table border="0">
535
549
<col align="left" valign="top">
536
550
<tbody>
541
555
</tr>
542
556
<tr>
543
557
<td><p><span class="term"><em class="parameter"><code>length</code></em> :</span></p></td>
544
 
<td> return location for the length of the returned string, or <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>
 
558
<td> return location for the length of the returned string, or <a class="link" href="glib-Standard-Macros.html#NULL--CAPS" title="NULL"><code class="literal">NULL</code></a>
545
559
</td>
546
560
</tr>
547
561
<tr>
548
562
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
549
 
<td> return location for a <a class="link" href="glib-Error-Reporting.html#GError" title="GError"><span class="type">GError</span></a>, or <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>
 
563
<td> return location for a <a class="link" href="glib-Error-Reporting.html#GError" title="GError"><span class="type">GError</span></a>, or <a class="link" href="glib-Standard-Macros.html#NULL--CAPS" title="NULL"><code class="literal">NULL</code></a>
550
564
</td>
551
565
</tr>
552
566
<tr>
563
577
<hr>
564
578
<div class="refsect2" title="g_bookmark_file_to_file ()">
565
579
<a name="g-bookmark-file-to-file"></a><h3>g_bookmark_file_to_file ()</h3>
566
 
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="returnvalue">gboolean</span></a>            g_bookmark_file_to_file             (<a class="link" href="glib-Bookmark-file-parser.html#GBookmarkFile" title="GBookmarkFile"><span class="returnvalue">GBookmarkFile</span></a> *bookmark,
567
 
                                                         const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> *filename,
568
 
                                                         <a class="link" href="glib-Error-Reporting.html#GError" title="GError"><span class="returnvalue">GError</span></a> **error);</pre>
 
580
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean">gboolean</a>            g_bookmark_file_to_file             (<a class="link" href="glib-Bookmark-file-parser.html#GBookmarkFile" title="GBookmarkFile">GBookmarkFile</a> *bookmark,
 
581
                                                         const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar">gchar</a> *filename,
 
582
                                                         <a class="link" href="glib-Error-Reporting.html#GError" title="GError">GError</a> **error);</pre>
569
583
<p>
570
584
This function outputs <em class="parameter"><code>bookmark</code></em> into a file.  The write process is
571
585
guaranteed to be atomic by using <a class="link" href="glib-File-Utilities.html#g-file-set-contents" title="g_file_set_contents ()"><code class="function">g_file_set_contents()</code></a> internally.</p>
 
586
<p>
 
587
</p>
572
588
<div class="variablelist"><table border="0">
573
589
<col align="left" valign="top">
574
590
<tbody>
584
600
</tr>
585
601
<tr>
586
602
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
587
 
<td> return location for a <a class="link" href="glib-Error-Reporting.html#GError" title="GError"><span class="type">GError</span></a>, or <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>
 
603
<td> return location for a <a class="link" href="glib-Error-Reporting.html#GError" title="GError"><span class="type">GError</span></a>, or <a class="link" href="glib-Standard-Macros.html#NULL--CAPS" title="NULL"><code class="literal">NULL</code></a>
588
604
</td>
589
605
</tr>
590
606
<tr>
591
607
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
592
 
<td> <a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE"><code class="literal">TRUE</code></a> if the file was successfully written.
 
608
<td> <a class="link" href="glib-Standard-Macros.html#TRUE--CAPS" title="TRUE"><code class="literal">TRUE</code></a> if the file was successfully written.
593
609
 
594
610
</td>
595
611
</tr>
600
616
<hr>
601
617
<div class="refsect2" title="g_bookmark_file_has_item ()">
602
618
<a name="g-bookmark-file-has-item"></a><h3>g_bookmark_file_has_item ()</h3>
603
 
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="returnvalue">gboolean</span></a>            g_bookmark_file_has_item            (<a class="link" href="glib-Bookmark-file-parser.html#GBookmarkFile" title="GBookmarkFile"><span class="returnvalue">GBookmarkFile</span></a> *bookmark,
604
 
                                                         const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> *uri);</pre>
 
619
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean">gboolean</a>            g_bookmark_file_has_item            (<a class="link" href="glib-Bookmark-file-parser.html#GBookmarkFile" title="GBookmarkFile">GBookmarkFile</a> *bookmark,
 
620
                                                         const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar">gchar</a> *uri);</pre>
605
621
<p>
606
622
Looks whether the desktop bookmark has an item with its URI set to <em class="parameter"><code>uri</code></em>.</p>
 
623
<p>
 
624
</p>
607
625
<div class="variablelist"><table border="0">
608
626
<col align="left" valign="top">
609
627
<tbody>
619
637
</tr>
620
638
<tr>
621
639
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
622
 
<td> <a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE"><code class="literal">TRUE</code></a> if <em class="parameter"><code>uri</code></em> is inside <em class="parameter"><code>bookmark</code></em>, <a class="link" href="glib-Standard-Macros.html#FALSE:CAPS" title="FALSE"><code class="literal">FALSE</code></a> otherwise
 
640
<td> <a class="link" href="glib-Standard-Macros.html#TRUE--CAPS" title="TRUE"><code class="literal">TRUE</code></a> if <em class="parameter"><code>uri</code></em> is inside <em class="parameter"><code>bookmark</code></em>, <a class="link" href="glib-Standard-Macros.html#FALSE--CAPS" title="FALSE"><code class="literal">FALSE</code></a> otherwise
623
641
 
624
642
</td>
625
643
</tr>
630
648
<hr>
631
649
<div class="refsect2" title="g_bookmark_file_has_group ()">
632
650
<a name="g-bookmark-file-has-group"></a><h3>g_bookmark_file_has_group ()</h3>
633
 
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="returnvalue">gboolean</span></a>            g_bookmark_file_has_group           (<a class="link" href="glib-Bookmark-file-parser.html#GBookmarkFile" title="GBookmarkFile"><span class="returnvalue">GBookmarkFile</span></a> *bookmark,
634
 
                                                         const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> *uri,
635
 
                                                         const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> *group,
636
 
                                                         <a class="link" href="glib-Error-Reporting.html#GError" title="GError"><span class="returnvalue">GError</span></a> **error);</pre>
 
651
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean">gboolean</a>            g_bookmark_file_has_group           (<a class="link" href="glib-Bookmark-file-parser.html#GBookmarkFile" title="GBookmarkFile">GBookmarkFile</a> *bookmark,
 
652
                                                         const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar">gchar</a> *uri,
 
653
                                                         const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar">gchar</a> *group,
 
654
                                                         <a class="link" href="glib-Error-Reporting.html#GError" title="GError">GError</a> **error);</pre>
637
655
<p>
638
656
Checks whether <em class="parameter"><code>group</code></em> appears in the list of groups to which
639
657
the bookmark for <em class="parameter"><code>uri</code></em> belongs to.
640
658
</p>
641
659
<p>
642
 
In the event the URI cannot be found, <a class="link" href="glib-Standard-Macros.html#FALSE:CAPS" title="FALSE"><code class="literal">FALSE</code></a> is returned and
643
 
<em class="parameter"><code>error</code></em> is set to <a class="link" href="glib-Bookmark-file-parser.html#G-BOOKMARK-FILE-ERROR-URI-NOT-FOUND:CAPS"><span class="type">G_BOOKMARK_FILE_ERROR_URI_NOT_FOUND</span></a>.</p>
 
660
In the event the URI cannot be found, <a class="link" href="glib-Standard-Macros.html#FALSE--CAPS" title="FALSE"><code class="literal">FALSE</code></a> is returned and
 
661
<em class="parameter"><code>error</code></em> is set to <a class="link" href="glib-Bookmark-file-parser.html#G-BOOKMARK-FILE-ERROR-URI-NOT-FOUND--CAPS"><span class="type">G_BOOKMARK_FILE_ERROR_URI_NOT_FOUND</span></a>.</p>
 
662
<p>
 
663
</p>
644
664
<div class="variablelist"><table border="0">
645
665
<col align="left" valign="top">
646
666
<tbody>
661
681
</tr>
662
682
<tr>
663
683
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
664
 
<td> return location for a <a class="link" href="glib-Error-Reporting.html#GError" title="GError"><span class="type">GError</span></a>, or <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>
 
684
<td> return location for a <a class="link" href="glib-Error-Reporting.html#GError" title="GError"><span class="type">GError</span></a>, or <a class="link" href="glib-Standard-Macros.html#NULL--CAPS" title="NULL"><code class="literal">NULL</code></a>
665
685
</td>
666
686
</tr>
667
687
<tr>
668
688
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
669
 
<td> <a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE"><code class="literal">TRUE</code></a> if <em class="parameter"><code>group</code></em> was found.
 
689
<td> <a class="link" href="glib-Standard-Macros.html#TRUE--CAPS" title="TRUE"><code class="literal">TRUE</code></a> if <em class="parameter"><code>group</code></em> was found.
670
690
 
671
691
</td>
672
692
</tr>
677
697
<hr>
678
698
<div class="refsect2" title="g_bookmark_file_has_application ()">
679
699
<a name="g-bookmark-file-has-application"></a><h3>g_bookmark_file_has_application ()</h3>
680
 
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="returnvalue">gboolean</span></a>            g_bookmark_file_has_application     (<a class="link" href="glib-Bookmark-file-parser.html#GBookmarkFile" title="GBookmarkFile"><span class="returnvalue">GBookmarkFile</span></a> *bookmark,
681
 
                                                         const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> *uri,
682
 
                                                         const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> *name,
683
 
                                                         <a class="link" href="glib-Error-Reporting.html#GError" title="GError"><span class="returnvalue">GError</span></a> **error);</pre>
 
700
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean">gboolean</a>            g_bookmark_file_has_application     (<a class="link" href="glib-Bookmark-file-parser.html#GBookmarkFile" title="GBookmarkFile">GBookmarkFile</a> *bookmark,
 
701
                                                         const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar">gchar</a> *uri,
 
702
                                                         const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar">gchar</a> *name,
 
703
                                                         <a class="link" href="glib-Error-Reporting.html#GError" title="GError">GError</a> **error);</pre>
684
704
<p>
685
705
Checks whether the bookmark for <em class="parameter"><code>uri</code></em> inside <em class="parameter"><code>bookmark</code></em> has been
686
706
registered by application <em class="parameter"><code>name</code></em>.
687
707
</p>
688
708
<p>
689
 
In the event the URI cannot be found, <a class="link" href="glib-Standard-Macros.html#FALSE:CAPS" title="FALSE"><code class="literal">FALSE</code></a> is returned and
690
 
<em class="parameter"><code>error</code></em> is set to <a class="link" href="glib-Bookmark-file-parser.html#G-BOOKMARK-FILE-ERROR-URI-NOT-FOUND:CAPS"><span class="type">G_BOOKMARK_FILE_ERROR_URI_NOT_FOUND</span></a>.</p>
 
709
In the event the URI cannot be found, <a class="link" href="glib-Standard-Macros.html#FALSE--CAPS" title="FALSE"><code class="literal">FALSE</code></a> is returned and
 
710
<em class="parameter"><code>error</code></em> is set to <a class="link" href="glib-Bookmark-file-parser.html#G-BOOKMARK-FILE-ERROR-URI-NOT-FOUND--CAPS"><span class="type">G_BOOKMARK_FILE_ERROR_URI_NOT_FOUND</span></a>.</p>
 
711
<p>
 
712
</p>
691
713
<div class="variablelist"><table border="0">
692
714
<col align="left" valign="top">
693
715
<tbody>
708
730
</tr>
709
731
<tr>
710
732
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
711
 
<td> return location for a <a class="link" href="glib-Error-Reporting.html#GError" title="GError"><span class="type">GError</span></a> or <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>
 
733
<td> return location for a <a class="link" href="glib-Error-Reporting.html#GError" title="GError"><span class="type">GError</span></a> or <a class="link" href="glib-Standard-Macros.html#NULL--CAPS" title="NULL"><code class="literal">NULL</code></a>
712
734
</td>
713
735
</tr>
714
736
<tr>
715
737
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
716
 
<td> <a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE"><code class="literal">TRUE</code></a> if the application <em class="parameter"><code>name</code></em> was found
 
738
<td> <a class="link" href="glib-Standard-Macros.html#TRUE--CAPS" title="TRUE"><code class="literal">TRUE</code></a> if the application <em class="parameter"><code>name</code></em> was found
717
739
 
718
740
</td>
719
741
</tr>
724
746
<hr>
725
747
<div class="refsect2" title="g_bookmark_file_get_size ()">
726
748
<a name="g-bookmark-file-get-size"></a><h3>g_bookmark_file_get_size ()</h3>
727
 
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gint" title="gint"><span class="returnvalue">gint</span></a>                g_bookmark_file_get_size            (<a class="link" href="glib-Bookmark-file-parser.html#GBookmarkFile" title="GBookmarkFile"><span class="returnvalue">GBookmarkFile</span></a> *bookmark);</pre>
 
749
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gint" title="gint">gint</a>                g_bookmark_file_get_size            (<a class="link" href="glib-Bookmark-file-parser.html#GBookmarkFile" title="GBookmarkFile">GBookmarkFile</a> *bookmark);</pre>
728
750
<p>
729
751
Gets the number of bookmarks inside <em class="parameter"><code>bookmark</code></em>.</p>
 
752
<p>
 
753
</p>
730
754
<div class="variablelist"><table border="0">
731
755
<col align="left" valign="top">
732
756
<tbody>
748
772
<hr>
749
773
<div class="refsect2" title="g_bookmark_file_get_uris ()">
750
774
<a name="g-bookmark-file-get-uris"></a><h3>g_bookmark_file_get_uris ()</h3>
751
 
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> **            g_bookmark_file_get_uris            (<a class="link" href="glib-Bookmark-file-parser.html#GBookmarkFile" title="GBookmarkFile"><span class="returnvalue">GBookmarkFile</span></a> *bookmark,
752
 
                                                         <a class="link" href="glib-Basic-Types.html#gsize" title="gsize"><span class="returnvalue">gsize</span></a> *length);</pre>
 
775
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gchar" title="gchar">gchar</a> **            g_bookmark_file_get_uris            (<a class="link" href="glib-Bookmark-file-parser.html#GBookmarkFile" title="GBookmarkFile">GBookmarkFile</a> *bookmark,
 
776
                                                         <a class="link" href="glib-Basic-Types.html#gsize" title="gsize">gsize</a> *length);</pre>
753
777
<p>
754
778
Returns all URIs of the bookmarks in the bookmark file <em class="parameter"><code>bookmark</code></em>.
755
 
The array of returned URIs will be <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>-terminated, so <em class="parameter"><code>length</code></em> may
756
 
optionally be <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>.</p>
 
779
The array of returned URIs will be <a class="link" href="glib-Standard-Macros.html#NULL--CAPS" title="NULL"><code class="literal">NULL</code></a>-terminated, so <em class="parameter"><code>length</code></em> may
 
780
optionally be <a class="link" href="glib-Standard-Macros.html#NULL--CAPS" title="NULL"><code class="literal">NULL</code></a>.</p>
 
781
<p>
 
782
</p>
757
783
<div class="variablelist"><table border="0">
758
784
<col align="left" valign="top">
759
785
<tbody>
764
790
</tr>
765
791
<tr>
766
792
<td><p><span class="term"><em class="parameter"><code>length</code></em> :</span></p></td>
767
 
<td> return location for the number of returned URIs, or <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>
 
793
<td> return location for the number of returned URIs, or <a class="link" href="glib-Standard-Macros.html#NULL--CAPS" title="NULL"><code class="literal">NULL</code></a>
768
794
</td>
769
795
</tr>
770
796
<tr>
771
797
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
772
 
<td> a newly allocated <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>-terminated array of strings.
 
798
<td> a newly allocated <a class="link" href="glib-Standard-Macros.html#NULL--CAPS" title="NULL"><code class="literal">NULL</code></a>-terminated array of strings.
773
799
  Use <a class="link" href="glib-String-Utility-Functions.html#g-strfreev" title="g_strfreev ()"><code class="function">g_strfreev()</code></a> to free it.
774
800
 
775
801
</td>
781
807
<hr>
782
808
<div class="refsect2" title="g_bookmark_file_get_title ()">
783
809
<a name="g-bookmark-file-get-title"></a><h3>g_bookmark_file_get_title ()</h3>
784
 
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> *             g_bookmark_file_get_title           (<a class="link" href="glib-Bookmark-file-parser.html#GBookmarkFile" title="GBookmarkFile"><span class="returnvalue">GBookmarkFile</span></a> *bookmark,
785
 
                                                         const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> *uri,
786
 
                                                         <a class="link" href="glib-Error-Reporting.html#GError" title="GError"><span class="returnvalue">GError</span></a> **error);</pre>
 
810
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gchar" title="gchar">gchar</a> *             g_bookmark_file_get_title           (<a class="link" href="glib-Bookmark-file-parser.html#GBookmarkFile" title="GBookmarkFile">GBookmarkFile</a> *bookmark,
 
811
                                                         const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar">gchar</a> *uri,
 
812
                                                         <a class="link" href="glib-Error-Reporting.html#GError" title="GError">GError</a> **error);</pre>
787
813
<p>
788
814
Returns the title of the bookmark for <em class="parameter"><code>uri</code></em>.
789
815
</p>
790
816
<p>
791
 
If <em class="parameter"><code>uri</code></em> is <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>, the title of <em class="parameter"><code>bookmark</code></em> is returned.
792
 
</p>
793
 
<p>
794
 
In the event the URI cannot be found, <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a> is returned and
795
 
<em class="parameter"><code>error</code></em> is set to <a class="link" href="glib-Bookmark-file-parser.html#G-BOOKMARK-FILE-ERROR-URI-NOT-FOUND:CAPS"><span class="type">G_BOOKMARK_FILE_ERROR_URI_NOT_FOUND</span></a>.</p>
 
817
If <em class="parameter"><code>uri</code></em> is <a class="link" href="glib-Standard-Macros.html#NULL--CAPS" title="NULL"><code class="literal">NULL</code></a>, the title of <em class="parameter"><code>bookmark</code></em> is returned.
 
818
</p>
 
819
<p>
 
820
In the event the URI cannot be found, <a class="link" href="glib-Standard-Macros.html#NULL--CAPS" title="NULL"><code class="literal">NULL</code></a> is returned and
 
821
<em class="parameter"><code>error</code></em> is set to <a class="link" href="glib-Bookmark-file-parser.html#G-BOOKMARK-FILE-ERROR-URI-NOT-FOUND--CAPS"><span class="type">G_BOOKMARK_FILE_ERROR_URI_NOT_FOUND</span></a>.</p>
 
822
<p>
 
823
</p>
796
824
<div class="variablelist"><table border="0">
797
825
<col align="left" valign="top">
798
826
<tbody>
803
831
</tr>
804
832
<tr>
805
833
<td><p><span class="term"><em class="parameter"><code>uri</code></em> :</span></p></td>
806
 
<td> a valid URI or <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>
 
834
<td> a valid URI or <a class="link" href="glib-Standard-Macros.html#NULL--CAPS" title="NULL"><code class="literal">NULL</code></a>
807
835
</td>
808
836
</tr>
809
837
<tr>
810
838
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
811
 
<td> return location for a <a class="link" href="glib-Error-Reporting.html#GError" title="GError"><span class="type">GError</span></a>, or <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>
 
839
<td> return location for a <a class="link" href="glib-Error-Reporting.html#GError" title="GError"><span class="type">GError</span></a>, or <a class="link" href="glib-Standard-Macros.html#NULL--CAPS" title="NULL"><code class="literal">NULL</code></a>
812
840
</td>
813
841
</tr>
814
842
<tr>
815
843
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
816
 
<td> a newly allocated string or <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a> if the specified
 
844
<td> a newly allocated string or <a class="link" href="glib-Standard-Macros.html#NULL--CAPS" title="NULL"><code class="literal">NULL</code></a> if the specified
817
845
  URI cannot be found.
818
846
 
819
847
</td>
825
853
<hr>
826
854
<div class="refsect2" title="g_bookmark_file_get_description ()">
827
855
<a name="g-bookmark-file-get-description"></a><h3>g_bookmark_file_get_description ()</h3>
828
 
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> *             g_bookmark_file_get_description     (<a class="link" href="glib-Bookmark-file-parser.html#GBookmarkFile" title="GBookmarkFile"><span class="returnvalue">GBookmarkFile</span></a> *bookmark,
829
 
                                                         const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> *uri,
830
 
                                                         <a class="link" href="glib-Error-Reporting.html#GError" title="GError"><span class="returnvalue">GError</span></a> **error);</pre>
 
856
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gchar" title="gchar">gchar</a> *             g_bookmark_file_get_description     (<a class="link" href="glib-Bookmark-file-parser.html#GBookmarkFile" title="GBookmarkFile">GBookmarkFile</a> *bookmark,
 
857
                                                         const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar">gchar</a> *uri,
 
858
                                                         <a class="link" href="glib-Error-Reporting.html#GError" title="GError">GError</a> **error);</pre>
831
859
<p>
832
860
Retrieves the description of the bookmark for <em class="parameter"><code>uri</code></em>.
833
861
</p>
834
862
<p>
835
 
In the event the URI cannot be found, <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a> is returned and
836
 
<em class="parameter"><code>error</code></em> is set to <a class="link" href="glib-Bookmark-file-parser.html#G-BOOKMARK-FILE-ERROR-URI-NOT-FOUND:CAPS"><span class="type">G_BOOKMARK_FILE_ERROR_URI_NOT_FOUND</span></a>.</p>
 
863
In the event the URI cannot be found, <a class="link" href="glib-Standard-Macros.html#NULL--CAPS" title="NULL"><code class="literal">NULL</code></a> is returned and
 
864
<em class="parameter"><code>error</code></em> is set to <a class="link" href="glib-Bookmark-file-parser.html#G-BOOKMARK-FILE-ERROR-URI-NOT-FOUND--CAPS"><span class="type">G_BOOKMARK_FILE_ERROR_URI_NOT_FOUND</span></a>.</p>
 
865
<p>
 
866
</p>
837
867
<div class="variablelist"><table border="0">
838
868
<col align="left" valign="top">
839
869
<tbody>
849
879
</tr>
850
880
<tr>
851
881
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
852
 
<td> return location for a <a class="link" href="glib-Error-Reporting.html#GError" title="GError"><span class="type">GError</span></a>, or <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>
 
882
<td> return location for a <a class="link" href="glib-Error-Reporting.html#GError" title="GError"><span class="type">GError</span></a>, or <a class="link" href="glib-Standard-Macros.html#NULL--CAPS" title="NULL"><code class="literal">NULL</code></a>
853
883
</td>
854
884
</tr>
855
885
<tr>
856
886
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
857
 
<td> a newly allocated string or <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a> if the specified
 
887
<td> a newly allocated string or <a class="link" href="glib-Standard-Macros.html#NULL--CAPS" title="NULL"><code class="literal">NULL</code></a> if the specified
858
888
  URI cannot be found.
859
889
 
860
890
</td>
866
896
<hr>
867
897
<div class="refsect2" title="g_bookmark_file_get_mime_type ()">
868
898
<a name="g-bookmark-file-get-mime-type"></a><h3>g_bookmark_file_get_mime_type ()</h3>
869
 
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> *             g_bookmark_file_get_mime_type       (<a class="link" href="glib-Bookmark-file-parser.html#GBookmarkFile" title="GBookmarkFile"><span class="returnvalue">GBookmarkFile</span></a> *bookmark,
870
 
                                                         const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> *uri,
871
 
                                                         <a class="link" href="glib-Error-Reporting.html#GError" title="GError"><span class="returnvalue">GError</span></a> **error);</pre>
 
899
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gchar" title="gchar">gchar</a> *             g_bookmark_file_get_mime_type       (<a class="link" href="glib-Bookmark-file-parser.html#GBookmarkFile" title="GBookmarkFile">GBookmarkFile</a> *bookmark,
 
900
                                                         const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar">gchar</a> *uri,
 
901
                                                         <a class="link" href="glib-Error-Reporting.html#GError" title="GError">GError</a> **error);</pre>
872
902
<p>
873
903
Retrieves the MIME type of the resource pointed by <em class="parameter"><code>uri</code></em>.
874
904
</p>
875
905
<p>
876
 
In the event the URI cannot be found, <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a> is returned and
877
 
<em class="parameter"><code>error</code></em> is set to <a class="link" href="glib-Bookmark-file-parser.html#G-BOOKMARK-FILE-ERROR-URI-NOT-FOUND:CAPS"><span class="type">G_BOOKMARK_FILE_ERROR_URI_NOT_FOUND</span></a>.  In the
878
 
event that the MIME type cannot be found, <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a> is returned and
879
 
<em class="parameter"><code>error</code></em> is set to <a class="link" href="glib-Bookmark-file-parser.html#G-BOOKMARK-FILE-ERROR-INVALID-VALUE:CAPS"><span class="type">G_BOOKMARK_FILE_ERROR_INVALID_VALUE</span></a>.</p>
 
906
In the event the URI cannot be found, <a class="link" href="glib-Standard-Macros.html#NULL--CAPS" title="NULL"><code class="literal">NULL</code></a> is returned and
 
907
<em class="parameter"><code>error</code></em> is set to <a class="link" href="glib-Bookmark-file-parser.html#G-BOOKMARK-FILE-ERROR-URI-NOT-FOUND--CAPS"><span class="type">G_BOOKMARK_FILE_ERROR_URI_NOT_FOUND</span></a>.  In the
 
908
event that the MIME type cannot be found, <a class="link" href="glib-Standard-Macros.html#NULL--CAPS" title="NULL"><code class="literal">NULL</code></a> is returned and
 
909
<em class="parameter"><code>error</code></em> is set to <a class="link" href="glib-Bookmark-file-parser.html#G-BOOKMARK-FILE-ERROR-INVALID-VALUE--CAPS"><span class="type">G_BOOKMARK_FILE_ERROR_INVALID_VALUE</span></a>.</p>
 
910
<p>
 
911
</p>
880
912
<div class="variablelist"><table border="0">
881
913
<col align="left" valign="top">
882
914
<tbody>
892
924
</tr>
893
925
<tr>
894
926
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
895
 
<td> return location for a <a class="link" href="glib-Error-Reporting.html#GError" title="GError"><span class="type">GError</span></a>, or <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>
 
927
<td> return location for a <a class="link" href="glib-Error-Reporting.html#GError" title="GError"><span class="type">GError</span></a>, or <a class="link" href="glib-Standard-Macros.html#NULL--CAPS" title="NULL"><code class="literal">NULL</code></a>
896
928
</td>
897
929
</tr>
898
930
<tr>
899
931
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
900
 
<td> a newly allocated string or <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a> if the specified
 
932
<td> a newly allocated string or <a class="link" href="glib-Standard-Macros.html#NULL--CAPS" title="NULL"><code class="literal">NULL</code></a> if the specified
901
933
  URI cannot be found.
902
934
 
903
935
</td>
909
941
<hr>
910
942
<div class="refsect2" title="g_bookmark_file_get_is_private ()">
911
943
<a name="g-bookmark-file-get-is-private"></a><h3>g_bookmark_file_get_is_private ()</h3>
912
 
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="returnvalue">gboolean</span></a>            g_bookmark_file_get_is_private      (<a class="link" href="glib-Bookmark-file-parser.html#GBookmarkFile" title="GBookmarkFile"><span class="returnvalue">GBookmarkFile</span></a> *bookmark,
913
 
                                                         const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> *uri,
914
 
                                                         <a class="link" href="glib-Error-Reporting.html#GError" title="GError"><span class="returnvalue">GError</span></a> **error);</pre>
 
944
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean">gboolean</a>            g_bookmark_file_get_is_private      (<a class="link" href="glib-Bookmark-file-parser.html#GBookmarkFile" title="GBookmarkFile">GBookmarkFile</a> *bookmark,
 
945
                                                         const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar">gchar</a> *uri,
 
946
                                                         <a class="link" href="glib-Error-Reporting.html#GError" title="GError">GError</a> **error);</pre>
915
947
<p>
916
948
Gets whether the private flag of the bookmark for <em class="parameter"><code>uri</code></em> is set.
917
949
</p>
918
950
<p>
919
 
In the event the URI cannot be found, <a class="link" href="glib-Standard-Macros.html#FALSE:CAPS" title="FALSE"><code class="literal">FALSE</code></a> is returned and
920
 
<em class="parameter"><code>error</code></em> is set to <a class="link" href="glib-Bookmark-file-parser.html#G-BOOKMARK-FILE-ERROR-URI-NOT-FOUND:CAPS"><span class="type">G_BOOKMARK_FILE_ERROR_URI_NOT_FOUND</span></a>.  In the
921
 
event that the private flag cannot be found, <a class="link" href="glib-Standard-Macros.html#FALSE:CAPS" title="FALSE"><code class="literal">FALSE</code></a> is returned and
922
 
<em class="parameter"><code>error</code></em> is set to <a class="link" href="glib-Bookmark-file-parser.html#G-BOOKMARK-FILE-ERROR-INVALID-VALUE:CAPS"><span class="type">G_BOOKMARK_FILE_ERROR_INVALID_VALUE</span></a>.</p>
 
951
In the event the URI cannot be found, <a class="link" href="glib-Standard-Macros.html#FALSE--CAPS" title="FALSE"><code class="literal">FALSE</code></a> is returned and
 
952
<em class="parameter"><code>error</code></em> is set to <a class="link" href="glib-Bookmark-file-parser.html#G-BOOKMARK-FILE-ERROR-URI-NOT-FOUND--CAPS"><span class="type">G_BOOKMARK_FILE_ERROR_URI_NOT_FOUND</span></a>.  In the
 
953
event that the private flag cannot be found, <a class="link" href="glib-Standard-Macros.html#FALSE--CAPS" title="FALSE"><code class="literal">FALSE</code></a> is returned and
 
954
<em class="parameter"><code>error</code></em> is set to <a class="link" href="glib-Bookmark-file-parser.html#G-BOOKMARK-FILE-ERROR-INVALID-VALUE--CAPS"><span class="type">G_BOOKMARK_FILE_ERROR_INVALID_VALUE</span></a>.</p>
 
955
<p>
 
956
</p>
923
957
<div class="variablelist"><table border="0">
924
958
<col align="left" valign="top">
925
959
<tbody>
935
969
</tr>
936
970
<tr>
937
971
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
938
 
<td> return location for a <a class="link" href="glib-Error-Reporting.html#GError" title="GError"><span class="type">GError</span></a>, or <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>
 
972
<td> return location for a <a class="link" href="glib-Error-Reporting.html#GError" title="GError"><span class="type">GError</span></a>, or <a class="link" href="glib-Standard-Macros.html#NULL--CAPS" title="NULL"><code class="literal">NULL</code></a>
939
973
</td>
940
974
</tr>
941
975
<tr>
942
976
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
943
 
<td> <a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE"><code class="literal">TRUE</code></a> if the private flag is set, <a class="link" href="glib-Standard-Macros.html#FALSE:CAPS" title="FALSE"><code class="literal">FALSE</code></a> otherwise.
 
977
<td> <a class="link" href="glib-Standard-Macros.html#TRUE--CAPS" title="TRUE"><code class="literal">TRUE</code></a> if the private flag is set, <a class="link" href="glib-Standard-Macros.html#FALSE--CAPS" title="FALSE"><code class="literal">FALSE</code></a> otherwise.
944
978
 
945
979
</td>
946
980
</tr>
951
985
<hr>
952
986
<div class="refsect2" title="g_bookmark_file_get_icon ()">
953
987
<a name="g-bookmark-file-get-icon"></a><h3>g_bookmark_file_get_icon ()</h3>
954
 
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="returnvalue">gboolean</span></a>            g_bookmark_file_get_icon            (<a class="link" href="glib-Bookmark-file-parser.html#GBookmarkFile" title="GBookmarkFile"><span class="returnvalue">GBookmarkFile</span></a> *bookmark,
955
 
                                                         const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> *uri,
956
 
                                                         <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> **href,
957
 
                                                         <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> **mime_type,
958
 
                                                         <a class="link" href="glib-Error-Reporting.html#GError" title="GError"><span class="returnvalue">GError</span></a> **error);</pre>
 
988
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean">gboolean</a>            g_bookmark_file_get_icon            (<a class="link" href="glib-Bookmark-file-parser.html#GBookmarkFile" title="GBookmarkFile">GBookmarkFile</a> *bookmark,
 
989
                                                         const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar">gchar</a> *uri,
 
990
                                                         <a class="link" href="glib-Basic-Types.html#gchar" title="gchar">gchar</a> **href,
 
991
                                                         <a class="link" href="glib-Basic-Types.html#gchar" title="gchar">gchar</a> **mime_type,
 
992
                                                         <a class="link" href="glib-Error-Reporting.html#GError" title="GError">GError</a> **error);</pre>
959
993
<p>
960
994
Gets the icon of the bookmark for <em class="parameter"><code>uri</code></em>.
961
995
</p>
962
996
<p>
963
 
In the event the URI cannot be found, <a class="link" href="glib-Standard-Macros.html#FALSE:CAPS" title="FALSE"><code class="literal">FALSE</code></a> is returned and
964
 
<em class="parameter"><code>error</code></em> is set to <a class="link" href="glib-Bookmark-file-parser.html#G-BOOKMARK-FILE-ERROR-URI-NOT-FOUND:CAPS"><span class="type">G_BOOKMARK_FILE_ERROR_URI_NOT_FOUND</span></a>.</p>
 
997
In the event the URI cannot be found, <a class="link" href="glib-Standard-Macros.html#FALSE--CAPS" title="FALSE"><code class="literal">FALSE</code></a> is returned and
 
998
<em class="parameter"><code>error</code></em> is set to <a class="link" href="glib-Bookmark-file-parser.html#G-BOOKMARK-FILE-ERROR-URI-NOT-FOUND--CAPS"><span class="type">G_BOOKMARK_FILE_ERROR_URI_NOT_FOUND</span></a>.</p>
 
999
<p>
 
1000
</p>
965
1001
<div class="variablelist"><table border="0">
966
1002
<col align="left" valign="top">
967
1003
<tbody>
977
1013
</tr>
978
1014
<tr>
979
1015
<td><p><span class="term"><em class="parameter"><code>href</code></em> :</span></p></td>
980
 
<td> return location for the icon's location or <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>
 
1016
<td> return location for the icon's location or <a class="link" href="glib-Standard-Macros.html#NULL--CAPS" title="NULL"><code class="literal">NULL</code></a>
981
1017
</td>
982
1018
</tr>
983
1019
<tr>
984
1020
<td><p><span class="term"><em class="parameter"><code>mime_type</code></em> :</span></p></td>
985
 
<td> return location for the icon's MIME type or <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>
 
1021
<td> return location for the icon's MIME type or <a class="link" href="glib-Standard-Macros.html#NULL--CAPS" title="NULL"><code class="literal">NULL</code></a>
986
1022
</td>
987
1023
</tr>
988
1024
<tr>
989
1025
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
990
 
<td> return location for a <a class="link" href="glib-Error-Reporting.html#GError" title="GError"><span class="type">GError</span></a> or <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>
 
1026
<td> return location for a <a class="link" href="glib-Error-Reporting.html#GError" title="GError"><span class="type">GError</span></a> or <a class="link" href="glib-Standard-Macros.html#NULL--CAPS" title="NULL"><code class="literal">NULL</code></a>
991
1027
</td>
992
1028
</tr>
993
1029
<tr>
994
1030
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
995
 
<td> <a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE"><code class="literal">TRUE</code></a> if the icon for the bookmark for the URI was found.
 
1031
<td> <a class="link" href="glib-Standard-Macros.html#TRUE--CAPS" title="TRUE"><code class="literal">TRUE</code></a> if the icon for the bookmark for the URI was found.
996
1032
  You should free the returned strings.
997
1033
 
998
1034
</td>
1004
1040
<hr>
1005
1041
<div class="refsect2" title="g_bookmark_file_get_added ()">
1006
1042
<a name="g-bookmark-file-get-added"></a><h3>g_bookmark_file_get_added ()</h3>
1007
 
<pre class="programlisting"><span class="returnvalue">time_t</span>              g_bookmark_file_get_added           (<a class="link" href="glib-Bookmark-file-parser.html#GBookmarkFile" title="GBookmarkFile"><span class="returnvalue">GBookmarkFile</span></a> *bookmark,
1008
 
                                                         const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> *uri,
1009
 
                                                         <a class="link" href="glib-Error-Reporting.html#GError" title="GError"><span class="returnvalue">GError</span></a> **error);</pre>
 
1043
<pre class="programlisting">time_t              g_bookmark_file_get_added           (<a class="link" href="glib-Bookmark-file-parser.html#GBookmarkFile" title="GBookmarkFile">GBookmarkFile</a> *bookmark,
 
1044
                                                         const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar">gchar</a> *uri,
 
1045
                                                         <a class="link" href="glib-Error-Reporting.html#GError" title="GError">GError</a> **error);</pre>
1010
1046
<p>
1011
1047
Gets the time the bookmark for <em class="parameter"><code>uri</code></em> was added to <em class="parameter"><code>bookmark</code></em>
1012
1048
</p>
1013
1049
<p>
1014
1050
In the event the URI cannot be found, -1 is returned and
1015
 
<em class="parameter"><code>error</code></em> is set to <a class="link" href="glib-Bookmark-file-parser.html#G-BOOKMARK-FILE-ERROR-URI-NOT-FOUND:CAPS"><span class="type">G_BOOKMARK_FILE_ERROR_URI_NOT_FOUND</span></a>.</p>
 
1051
<em class="parameter"><code>error</code></em> is set to <a class="link" href="glib-Bookmark-file-parser.html#G-BOOKMARK-FILE-ERROR-URI-NOT-FOUND--CAPS"><span class="type">G_BOOKMARK_FILE_ERROR_URI_NOT_FOUND</span></a>.</p>
 
1052
<p>
 
1053
</p>
1016
1054
<div class="variablelist"><table border="0">
1017
1055
<col align="left" valign="top">
1018
1056
<tbody>
1028
1066
</tr>
1029
1067
<tr>
1030
1068
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
1031
 
<td> return location for a <a class="link" href="glib-Error-Reporting.html#GError" title="GError"><span class="type">GError</span></a>, or <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>
 
1069
<td> return location for a <a class="link" href="glib-Error-Reporting.html#GError" title="GError"><span class="type">GError</span></a>, or <a class="link" href="glib-Standard-Macros.html#NULL--CAPS" title="NULL"><code class="literal">NULL</code></a>
1032
1070
</td>
1033
1071
</tr>
1034
1072
<tr>
1044
1082
<hr>
1045
1083
<div class="refsect2" title="g_bookmark_file_get_modified ()">
1046
1084
<a name="g-bookmark-file-get-modified"></a><h3>g_bookmark_file_get_modified ()</h3>
1047
 
<pre class="programlisting"><span class="returnvalue">time_t</span>              g_bookmark_file_get_modified        (<a class="link" href="glib-Bookmark-file-parser.html#GBookmarkFile" title="GBookmarkFile"><span class="returnvalue">GBookmarkFile</span></a> *bookmark,
1048
 
                                                         const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> *uri,
1049
 
                                                         <a class="link" href="glib-Error-Reporting.html#GError" title="GError"><span class="returnvalue">GError</span></a> **error);</pre>
 
1085
<pre class="programlisting">time_t              g_bookmark_file_get_modified        (<a class="link" href="glib-Bookmark-file-parser.html#GBookmarkFile" title="GBookmarkFile">GBookmarkFile</a> *bookmark,
 
1086
                                                         const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar">gchar</a> *uri,
 
1087
                                                         <a class="link" href="glib-Error-Reporting.html#GError" title="GError">GError</a> **error);</pre>
1050
1088
<p>
1051
1089
Gets the time when the bookmark for <em class="parameter"><code>uri</code></em> was last modified.
1052
1090
</p>
1053
1091
<p>
1054
1092
In the event the URI cannot be found, -1 is returned and
1055
 
<em class="parameter"><code>error</code></em> is set to <a class="link" href="glib-Bookmark-file-parser.html#G-BOOKMARK-FILE-ERROR-URI-NOT-FOUND:CAPS"><span class="type">G_BOOKMARK_FILE_ERROR_URI_NOT_FOUND</span></a>.</p>
 
1093
<em class="parameter"><code>error</code></em> is set to <a class="link" href="glib-Bookmark-file-parser.html#G-BOOKMARK-FILE-ERROR-URI-NOT-FOUND--CAPS"><span class="type">G_BOOKMARK_FILE_ERROR_URI_NOT_FOUND</span></a>.</p>
 
1094
<p>
 
1095
</p>
1056
1096
<div class="variablelist"><table border="0">
1057
1097
<col align="left" valign="top">
1058
1098
<tbody>
1068
1108
</tr>
1069
1109
<tr>
1070
1110
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
1071
 
<td> return location for a <a class="link" href="glib-Error-Reporting.html#GError" title="GError"><span class="type">GError</span></a>, or <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>
 
1111
<td> return location for a <a class="link" href="glib-Error-Reporting.html#GError" title="GError"><span class="type">GError</span></a>, or <a class="link" href="glib-Standard-Macros.html#NULL--CAPS" title="NULL"><code class="literal">NULL</code></a>
1072
1112
</td>
1073
1113
</tr>
1074
1114
<tr>
1084
1124
<hr>
1085
1125
<div class="refsect2" title="g_bookmark_file_get_visited ()">
1086
1126
<a name="g-bookmark-file-get-visited"></a><h3>g_bookmark_file_get_visited ()</h3>
1087
 
<pre class="programlisting"><span class="returnvalue">time_t</span>              g_bookmark_file_get_visited         (<a class="link" href="glib-Bookmark-file-parser.html#GBookmarkFile" title="GBookmarkFile"><span class="returnvalue">GBookmarkFile</span></a> *bookmark,
1088
 
                                                         const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> *uri,
1089
 
                                                         <a class="link" href="glib-Error-Reporting.html#GError" title="GError"><span class="returnvalue">GError</span></a> **error);</pre>
 
1127
<pre class="programlisting">time_t              g_bookmark_file_get_visited         (<a class="link" href="glib-Bookmark-file-parser.html#GBookmarkFile" title="GBookmarkFile">GBookmarkFile</a> *bookmark,
 
1128
                                                         const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar">gchar</a> *uri,
 
1129
                                                         <a class="link" href="glib-Error-Reporting.html#GError" title="GError">GError</a> **error);</pre>
1090
1130
<p>
1091
1131
Gets the time the bookmark for <em class="parameter"><code>uri</code></em> was last visited.
1092
1132
</p>
1093
1133
<p>
1094
1134
In the event the URI cannot be found, -1 is returned and
1095
 
<em class="parameter"><code>error</code></em> is set to <a class="link" href="glib-Bookmark-file-parser.html#G-BOOKMARK-FILE-ERROR-URI-NOT-FOUND:CAPS"><span class="type">G_BOOKMARK_FILE_ERROR_URI_NOT_FOUND</span></a>.</p>
 
1135
<em class="parameter"><code>error</code></em> is set to <a class="link" href="glib-Bookmark-file-parser.html#G-BOOKMARK-FILE-ERROR-URI-NOT-FOUND--CAPS"><span class="type">G_BOOKMARK_FILE_ERROR_URI_NOT_FOUND</span></a>.</p>
 
1136
<p>
 
1137
</p>
1096
1138
<div class="variablelist"><table border="0">
1097
1139
<col align="left" valign="top">
1098
1140
<tbody>
1108
1150
</tr>
1109
1151
<tr>
1110
1152
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
1111
 
<td> return location for a <a class="link" href="glib-Error-Reporting.html#GError" title="GError"><span class="type">GError</span></a>, or <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>
 
1153
<td> return location for a <a class="link" href="glib-Error-Reporting.html#GError" title="GError"><span class="type">GError</span></a>, or <a class="link" href="glib-Standard-Macros.html#NULL--CAPS" title="NULL"><code class="literal">NULL</code></a>
1112
1154
</td>
1113
1155
</tr>
1114
1156
<tr>
1124
1166
<hr>
1125
1167
<div class="refsect2" title="g_bookmark_file_get_groups ()">
1126
1168
<a name="g-bookmark-file-get-groups"></a><h3>g_bookmark_file_get_groups ()</h3>
1127
 
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> **            g_bookmark_file_get_groups          (<a class="link" href="glib-Bookmark-file-parser.html#GBookmarkFile" title="GBookmarkFile"><span class="returnvalue">GBookmarkFile</span></a> *bookmark,
1128
 
                                                         const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> *uri,
1129
 
                                                         <a class="link" href="glib-Basic-Types.html#gsize" title="gsize"><span class="returnvalue">gsize</span></a> *length,
1130
 
                                                         <a class="link" href="glib-Error-Reporting.html#GError" title="GError"><span class="returnvalue">GError</span></a> **error);</pre>
 
1169
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gchar" title="gchar">gchar</a> **            g_bookmark_file_get_groups          (<a class="link" href="glib-Bookmark-file-parser.html#GBookmarkFile" title="GBookmarkFile">GBookmarkFile</a> *bookmark,
 
1170
                                                         const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar">gchar</a> *uri,
 
1171
                                                         <a class="link" href="glib-Basic-Types.html#gsize" title="gsize">gsize</a> *length,
 
1172
                                                         <a class="link" href="glib-Error-Reporting.html#GError" title="GError">GError</a> **error);</pre>
1131
1173
<p>
1132
1174
Retrieves the list of group names of the bookmark for <em class="parameter"><code>uri</code></em>.
1133
1175
</p>
1134
1176
<p>
1135
 
In the event the URI cannot be found, <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a> is returned and
1136
 
<em class="parameter"><code>error</code></em> is set to <a class="link" href="glib-Bookmark-file-parser.html#G-BOOKMARK-FILE-ERROR-URI-NOT-FOUND:CAPS"><span class="type">G_BOOKMARK_FILE_ERROR_URI_NOT_FOUND</span></a>.
1137
 
</p>
1138
 
<p>
1139
 
The returned array is <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a> terminated, so <em class="parameter"><code>length</code></em> may optionally
1140
 
be <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>.</p>
 
1177
In the event the URI cannot be found, <a class="link" href="glib-Standard-Macros.html#NULL--CAPS" title="NULL"><code class="literal">NULL</code></a> is returned and
 
1178
<em class="parameter"><code>error</code></em> is set to <a class="link" href="glib-Bookmark-file-parser.html#G-BOOKMARK-FILE-ERROR-URI-NOT-FOUND--CAPS"><span class="type">G_BOOKMARK_FILE_ERROR_URI_NOT_FOUND</span></a>.
 
1179
</p>
 
1180
<p>
 
1181
The returned array is <a class="link" href="glib-Standard-Macros.html#NULL--CAPS" title="NULL"><code class="literal">NULL</code></a> terminated, so <em class="parameter"><code>length</code></em> may optionally
 
1182
be <a class="link" href="glib-Standard-Macros.html#NULL--CAPS" title="NULL"><code class="literal">NULL</code></a>.</p>
 
1183
<p>
 
1184
</p>
1141
1185
<div class="variablelist"><table border="0">
1142
1186
<col align="left" valign="top">
1143
1187
<tbody>
1153
1197
</tr>
1154
1198
<tr>
1155
1199
<td><p><span class="term"><em class="parameter"><code>length</code></em> :</span></p></td>
1156
 
<td> return location for the length of the returned string, or <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>
 
1200
<td> return location for the length of the returned string, or <a class="link" href="glib-Standard-Macros.html#NULL--CAPS" title="NULL"><code class="literal">NULL</code></a>
1157
1201
</td>
1158
1202
</tr>
1159
1203
<tr>
1160
1204
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
1161
 
<td> return location for a <a class="link" href="glib-Error-Reporting.html#GError" title="GError"><span class="type">GError</span></a>, or <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>
 
1205
<td> return location for a <a class="link" href="glib-Error-Reporting.html#GError" title="GError"><span class="type">GError</span></a>, or <a class="link" href="glib-Standard-Macros.html#NULL--CAPS" title="NULL"><code class="literal">NULL</code></a>
1162
1206
</td>
1163
1207
</tr>
1164
1208
<tr>
1165
1209
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
1166
 
<td> a newly allocated <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>-terminated array of group names.
 
1210
<td> a newly allocated <a class="link" href="glib-Standard-Macros.html#NULL--CAPS" title="NULL"><code class="literal">NULL</code></a>-terminated array of group names.
1167
1211
  Use <a class="link" href="glib-String-Utility-Functions.html#g-strfreev" title="g_strfreev ()"><code class="function">g_strfreev()</code></a> to free it.
1168
1212
 
1169
1213
</td>
1175
1219
<hr>
1176
1220
<div class="refsect2" title="g_bookmark_file_get_applications ()">
1177
1221
<a name="g-bookmark-file-get-applications"></a><h3>g_bookmark_file_get_applications ()</h3>
1178
 
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> **            g_bookmark_file_get_applications    (<a class="link" href="glib-Bookmark-file-parser.html#GBookmarkFile" title="GBookmarkFile"><span class="returnvalue">GBookmarkFile</span></a> *bookmark,
1179
 
                                                         const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> *uri,
1180
 
                                                         <a class="link" href="glib-Basic-Types.html#gsize" title="gsize"><span class="returnvalue">gsize</span></a> *length,
1181
 
                                                         <a class="link" href="glib-Error-Reporting.html#GError" title="GError"><span class="returnvalue">GError</span></a> **error);</pre>
 
1222
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gchar" title="gchar">gchar</a> **            g_bookmark_file_get_applications    (<a class="link" href="glib-Bookmark-file-parser.html#GBookmarkFile" title="GBookmarkFile">GBookmarkFile</a> *bookmark,
 
1223
                                                         const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar">gchar</a> *uri,
 
1224
                                                         <a class="link" href="glib-Basic-Types.html#gsize" title="gsize">gsize</a> *length,
 
1225
                                                         <a class="link" href="glib-Error-Reporting.html#GError" title="GError">GError</a> **error);</pre>
1182
1226
<p>
1183
1227
Retrieves the names of the applications that have registered the
1184
1228
bookmark for <em class="parameter"><code>uri</code></em>.
1185
1229
</p>
1186
1230
<p>
1187
 
In the event the URI cannot be found, <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a> is returned and
1188
 
<em class="parameter"><code>error</code></em> is set to <a class="link" href="glib-Bookmark-file-parser.html#G-BOOKMARK-FILE-ERROR-URI-NOT-FOUND:CAPS"><span class="type">G_BOOKMARK_FILE_ERROR_URI_NOT_FOUND</span></a>.</p>
 
1231
In the event the URI cannot be found, <a class="link" href="glib-Standard-Macros.html#NULL--CAPS" title="NULL"><code class="literal">NULL</code></a> is returned and
 
1232
<em class="parameter"><code>error</code></em> is set to <a class="link" href="glib-Bookmark-file-parser.html#G-BOOKMARK-FILE-ERROR-URI-NOT-FOUND--CAPS"><span class="type">G_BOOKMARK_FILE_ERROR_URI_NOT_FOUND</span></a>.</p>
 
1233
<p>
 
1234
</p>
1189
1235
<div class="variablelist"><table border="0">
1190
1236
<col align="left" valign="top">
1191
1237
<tbody>
1201
1247
</tr>
1202
1248
<tr>
1203
1249
<td><p><span class="term"><em class="parameter"><code>length</code></em> :</span></p></td>
1204
 
<td> return location of the length of the returned list, or <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>
 
1250
<td> return location of the length of the returned list, or <a class="link" href="glib-Standard-Macros.html#NULL--CAPS" title="NULL"><code class="literal">NULL</code></a>
1205
1251
</td>
1206
1252
</tr>
1207
1253
<tr>
1208
1254
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
1209
 
<td> return location for a <a class="link" href="glib-Error-Reporting.html#GError" title="GError"><span class="type">GError</span></a>, or <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>
 
1255
<td> return location for a <a class="link" href="glib-Error-Reporting.html#GError" title="GError"><span class="type">GError</span></a>, or <a class="link" href="glib-Standard-Macros.html#NULL--CAPS" title="NULL"><code class="literal">NULL</code></a>
1210
1256
</td>
1211
1257
</tr>
1212
1258
<tr>
1213
1259
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
1214
 
<td> a newly allocated <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>-terminated array of strings.
 
1260
<td> a newly allocated <a class="link" href="glib-Standard-Macros.html#NULL--CAPS" title="NULL"><code class="literal">NULL</code></a>-terminated array of strings.
1215
1261
  Use <a class="link" href="glib-String-Utility-Functions.html#g-strfreev" title="g_strfreev ()"><code class="function">g_strfreev()</code></a> to free it.
1216
1262
 
1217
1263
</td>
1223
1269
<hr>
1224
1270
<div class="refsect2" title="g_bookmark_file_get_app_info ()">
1225
1271
<a name="g-bookmark-file-get-app-info"></a><h3>g_bookmark_file_get_app_info ()</h3>
1226
 
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="returnvalue">gboolean</span></a>            g_bookmark_file_get_app_info        (<a class="link" href="glib-Bookmark-file-parser.html#GBookmarkFile" title="GBookmarkFile"><span class="returnvalue">GBookmarkFile</span></a> *bookmark,
1227
 
                                                         const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> *uri,
1228
 
                                                         const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> *name,
1229
 
                                                         <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> **exec,
1230
 
                                                         <a class="link" href="glib-Basic-Types.html#guint" title="guint"><span class="returnvalue">guint</span></a> *count,
1231
 
                                                         <span class="returnvalue">time_t</span> *stamp,
1232
 
                                                         <a class="link" href="glib-Error-Reporting.html#GError" title="GError"><span class="returnvalue">GError</span></a> **error);</pre>
 
1272
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean">gboolean</a>            g_bookmark_file_get_app_info        (<a class="link" href="glib-Bookmark-file-parser.html#GBookmarkFile" title="GBookmarkFile">GBookmarkFile</a> *bookmark,
 
1273
                                                         const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar">gchar</a> *uri,
 
1274
                                                         const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar">gchar</a> *name,
 
1275
                                                         <a class="link" href="glib-Basic-Types.html#gchar" title="gchar">gchar</a> **exec,
 
1276
                                                         <a class="link" href="glib-Basic-Types.html#guint" title="guint">guint</a> *count,
 
1277
                                                         time_t *stamp,
 
1278
                                                         <a class="link" href="glib-Error-Reporting.html#GError" title="GError">GError</a> **error);</pre>
1233
1279
<p>
1234
1280
Gets the registration informations of <em class="parameter"><code>app_name</code></em> for the bookmark for
1235
1281
<em class="parameter"><code>uri</code></em>.  See <a class="link" href="glib-Bookmark-file-parser.html#g-bookmark-file-set-app-info" title="g_bookmark_file_set_app_info ()"><code class="function">g_bookmark_file_set_app_info()</code></a> for more informations about
1239
1285
The string returned in <em class="parameter"><code>app_exec</code></em> must be freed.
1240
1286
</p>
1241
1287
<p>
1242
 
In the event the URI cannot be found, <a class="link" href="glib-Standard-Macros.html#FALSE:CAPS" title="FALSE"><code class="literal">FALSE</code></a> is returned and
1243
 
<em class="parameter"><code>error</code></em> is set to <a class="link" href="glib-Bookmark-file-parser.html#G-BOOKMARK-FILE-ERROR-URI-NOT-FOUND:CAPS"><span class="type">G_BOOKMARK_FILE_ERROR_URI_NOT_FOUND</span></a>.  In the
 
1288
In the event the URI cannot be found, <a class="link" href="glib-Standard-Macros.html#FALSE--CAPS" title="FALSE"><code class="literal">FALSE</code></a> is returned and
 
1289
<em class="parameter"><code>error</code></em> is set to <a class="link" href="glib-Bookmark-file-parser.html#G-BOOKMARK-FILE-ERROR-URI-NOT-FOUND--CAPS"><span class="type">G_BOOKMARK_FILE_ERROR_URI_NOT_FOUND</span></a>.  In the
1244
1290
event that no application with name <em class="parameter"><code>app_name</code></em> has registered a bookmark
1245
 
for <em class="parameter"><code>uri</code></em>,  <a class="link" href="glib-Standard-Macros.html#FALSE:CAPS" title="FALSE"><code class="literal">FALSE</code></a> is returned and error is set to
1246
 
<a class="link" href="glib-Bookmark-file-parser.html#G-BOOKMARK-FILE-ERROR-APP-NOT-REGISTERED:CAPS"><span class="type">G_BOOKMARK_FILE_ERROR_APP_NOT_REGISTERED</span></a>. In the event that unquoting
1247
 
the command line fails, an error of the <a class="link" href="glib-Shell-related-Utilities.html#G-SHELL-ERROR:CAPS" title="G_SHELL_ERROR"><span class="type">G_SHELL_ERROR</span></a> domain is
1248
 
set and <a class="link" href="glib-Standard-Macros.html#FALSE:CAPS" title="FALSE"><code class="literal">FALSE</code></a> is returned.</p>
 
1291
for <em class="parameter"><code>uri</code></em>,  <a class="link" href="glib-Standard-Macros.html#FALSE--CAPS" title="FALSE"><code class="literal">FALSE</code></a> is returned and error is set to
 
1292
<a class="link" href="glib-Bookmark-file-parser.html#G-BOOKMARK-FILE-ERROR-APP-NOT-REGISTERED--CAPS"><span class="type">G_BOOKMARK_FILE_ERROR_APP_NOT_REGISTERED</span></a>. In the event that unquoting
 
1293
the command line fails, an error of the <a class="link" href="glib-Shell-related-Utilities.html#G-SHELL-ERROR--CAPS" title="G_SHELL_ERROR"><span class="type">G_SHELL_ERROR</span></a> domain is
 
1294
set and <a class="link" href="glib-Standard-Macros.html#FALSE--CAPS" title="FALSE"><code class="literal">FALSE</code></a> is returned.</p>
 
1295
<p>
 
1296
</p>
1249
1297
<div class="variablelist"><table border="0">
1250
1298
<col align="left" valign="top">
1251
1299
<tbody>
1266
1314
</tr>
1267
1315
<tr>
1268
1316
<td><p><span class="term"><em class="parameter"><code>exec</code></em> :</span></p></td>
1269
 
<td> location for the command line of the application, or <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>
 
1317
<td> location for the command line of the application, or <a class="link" href="glib-Standard-Macros.html#NULL--CAPS" title="NULL"><code class="literal">NULL</code></a>
1270
1318
</td>
1271
1319
</tr>
1272
1320
<tr>
1273
1321
<td><p><span class="term"><em class="parameter"><code>count</code></em> :</span></p></td>
1274
 
<td> return location for the registration count, or <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>
 
1322
<td> return location for the registration count, or <a class="link" href="glib-Standard-Macros.html#NULL--CAPS" title="NULL"><code class="literal">NULL</code></a>
1275
1323
</td>
1276
1324
</tr>
1277
1325
<tr>
1278
1326
<td><p><span class="term"><em class="parameter"><code>stamp</code></em> :</span></p></td>
1279
 
<td> return location for the last registration time, or <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>
 
1327
<td> return location for the last registration time, or <a class="link" href="glib-Standard-Macros.html#NULL--CAPS" title="NULL"><code class="literal">NULL</code></a>
1280
1328
</td>
1281
1329
</tr>
1282
1330
<tr>
1283
1331
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
1284
 
<td> return location for a <a class="link" href="glib-Error-Reporting.html#GError" title="GError"><span class="type">GError</span></a>, or <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>
 
1332
<td> return location for a <a class="link" href="glib-Error-Reporting.html#GError" title="GError"><span class="type">GError</span></a>, or <a class="link" href="glib-Standard-Macros.html#NULL--CAPS" title="NULL"><code class="literal">NULL</code></a>
1285
1333
</td>
1286
1334
</tr>
1287
1335
<tr>
1288
1336
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
1289
 
<td> <a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE"><code class="literal">TRUE</code></a> on success.
 
1337
<td> <a class="link" href="glib-Standard-Macros.html#TRUE--CAPS" title="TRUE"><code class="literal">TRUE</code></a> on success.
1290
1338
 
1291
1339
</td>
1292
1340
</tr>
1297
1345
<hr>
1298
1346
<div class="refsect2" title="g_bookmark_file_set_title ()">
1299
1347
<a name="g-bookmark-file-set-title"></a><h3>g_bookmark_file_set_title ()</h3>
1300
 
<pre class="programlisting"><span class="returnvalue">void</span>                g_bookmark_file_set_title           (<a class="link" href="glib-Bookmark-file-parser.html#GBookmarkFile" title="GBookmarkFile"><span class="returnvalue">GBookmarkFile</span></a> *bookmark,
1301
 
                                                         const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> *uri,
1302
 
                                                         const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> *title);</pre>
 
1348
<pre class="programlisting">void                g_bookmark_file_set_title           (<a class="link" href="glib-Bookmark-file-parser.html#GBookmarkFile" title="GBookmarkFile">GBookmarkFile</a> *bookmark,
 
1349
                                                         const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar">gchar</a> *uri,
 
1350
                                                         const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar">gchar</a> *title);</pre>
1303
1351
<p>
1304
1352
Sets <em class="parameter"><code>title</code></em> as the title of the bookmark for <em class="parameter"><code>uri</code></em> inside the
1305
1353
bookmark file <em class="parameter"><code>bookmark</code></em>.
1306
1354
</p>
1307
1355
<p>
1308
 
If <em class="parameter"><code>uri</code></em> is <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>, the title of <em class="parameter"><code>bookmark</code></em> is set.
 
1356
If <em class="parameter"><code>uri</code></em> is <a class="link" href="glib-Standard-Macros.html#NULL--CAPS" title="NULL"><code class="literal">NULL</code></a>, the title of <em class="parameter"><code>bookmark</code></em> is set.
1309
1357
</p>
1310
1358
<p>
1311
1359
If a bookmark for <em class="parameter"><code>uri</code></em> cannot be found then it is created.</p>
 
1360
<p>
 
1361
</p>
1312
1362
<div class="variablelist"><table border="0">
1313
1363
<col align="left" valign="top">
1314
1364
<tbody>
1319
1369
</tr>
1320
1370
<tr>
1321
1371
<td><p><span class="term"><em class="parameter"><code>uri</code></em> :</span></p></td>
1322
 
<td> a valid URI or <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>
 
1372
<td> a valid URI or <a class="link" href="glib-Standard-Macros.html#NULL--CAPS" title="NULL"><code class="literal">NULL</code></a>
1323
1373
</td>
1324
1374
</tr>
1325
1375
<tr>
1334
1384
<hr>
1335
1385
<div class="refsect2" title="g_bookmark_file_set_description ()">
1336
1386
<a name="g-bookmark-file-set-description"></a><h3>g_bookmark_file_set_description ()</h3>
1337
 
<pre class="programlisting"><span class="returnvalue">void</span>                g_bookmark_file_set_description     (<a class="link" href="glib-Bookmark-file-parser.html#GBookmarkFile" title="GBookmarkFile"><span class="returnvalue">GBookmarkFile</span></a> *bookmark,
1338
 
                                                         const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> *uri,
1339
 
                                                         const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> *description);</pre>
 
1387
<pre class="programlisting">void                g_bookmark_file_set_description     (<a class="link" href="glib-Bookmark-file-parser.html#GBookmarkFile" title="GBookmarkFile">GBookmarkFile</a> *bookmark,
 
1388
                                                         const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar">gchar</a> *uri,
 
1389
                                                         const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar">gchar</a> *description);</pre>
1340
1390
<p>
1341
1391
Sets <em class="parameter"><code>description</code></em> as the description of the bookmark for <em class="parameter"><code>uri</code></em>.
1342
1392
</p>
1343
1393
<p>
1344
 
If <em class="parameter"><code>uri</code></em> is <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>, the description of <em class="parameter"><code>bookmark</code></em> is set.
 
1394
If <em class="parameter"><code>uri</code></em> is <a class="link" href="glib-Standard-Macros.html#NULL--CAPS" title="NULL"><code class="literal">NULL</code></a>, the description of <em class="parameter"><code>bookmark</code></em> is set.
1345
1395
</p>
1346
1396
<p>
1347
1397
If a bookmark for <em class="parameter"><code>uri</code></em> cannot be found then it is created.</p>
 
1398
<p>
 
1399
</p>
1348
1400
<div class="variablelist"><table border="0">
1349
1401
<col align="left" valign="top">
1350
1402
<tbody>
1355
1407
</tr>
1356
1408
<tr>
1357
1409
<td><p><span class="term"><em class="parameter"><code>uri</code></em> :</span></p></td>
1358
 
<td> a valid URI or <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>
 
1410
<td> a valid URI or <a class="link" href="glib-Standard-Macros.html#NULL--CAPS" title="NULL"><code class="literal">NULL</code></a>
1359
1411
</td>
1360
1412
</tr>
1361
1413
<tr>
1370
1422
<hr>
1371
1423
<div class="refsect2" title="g_bookmark_file_set_mime_type ()">
1372
1424
<a name="g-bookmark-file-set-mime-type"></a><h3>g_bookmark_file_set_mime_type ()</h3>
1373
 
<pre class="programlisting"><span class="returnvalue">void</span>                g_bookmark_file_set_mime_type       (<a class="link" href="glib-Bookmark-file-parser.html#GBookmarkFile" title="GBookmarkFile"><span class="returnvalue">GBookmarkFile</span></a> *bookmark,
1374
 
                                                         const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> *uri,
1375
 
                                                         const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> *mime_type);</pre>
 
1425
<pre class="programlisting">void                g_bookmark_file_set_mime_type       (<a class="link" href="glib-Bookmark-file-parser.html#GBookmarkFile" title="GBookmarkFile">GBookmarkFile</a> *bookmark,
 
1426
                                                         const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar">gchar</a> *uri,
 
1427
                                                         const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar">gchar</a> *mime_type);</pre>
1376
1428
<p>
1377
1429
Sets <em class="parameter"><code>mime_type</code></em> as the MIME type of the bookmark for <em class="parameter"><code>uri</code></em>.
1378
1430
</p>
1379
1431
<p>
1380
1432
If a bookmark for <em class="parameter"><code>uri</code></em> cannot be found then it is created.</p>
 
1433
<p>
 
1434
</p>
1381
1435
<div class="variablelist"><table border="0">
1382
1436
<col align="left" valign="top">
1383
1437
<tbody>
1403
1457
<hr>
1404
1458
<div class="refsect2" title="g_bookmark_file_set_is_private ()">
1405
1459
<a name="g-bookmark-file-set-is-private"></a><h3>g_bookmark_file_set_is_private ()</h3>
1406
 
<pre class="programlisting"><span class="returnvalue">void</span>                g_bookmark_file_set_is_private      (<a class="link" href="glib-Bookmark-file-parser.html#GBookmarkFile" title="GBookmarkFile"><span class="returnvalue">GBookmarkFile</span></a> *bookmark,
1407
 
                                                         const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> *uri,
1408
 
                                                         <a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="returnvalue">gboolean</span></a> is_private);</pre>
 
1460
<pre class="programlisting">void                g_bookmark_file_set_is_private      (<a class="link" href="glib-Bookmark-file-parser.html#GBookmarkFile" title="GBookmarkFile">GBookmarkFile</a> *bookmark,
 
1461
                                                         const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar">gchar</a> *uri,
 
1462
                                                         <a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean">gboolean</a> is_private);</pre>
1409
1463
<p>
1410
1464
Sets the private flag of the bookmark for <em class="parameter"><code>uri</code></em>.
1411
1465
</p>
1412
1466
<p>
1413
1467
If a bookmark for <em class="parameter"><code>uri</code></em> cannot be found then it is created.</p>
 
1468
<p>
 
1469
</p>
1414
1470
<div class="variablelist"><table border="0">
1415
1471
<col align="left" valign="top">
1416
1472
<tbody>
1426
1482
</tr>
1427
1483
<tr>
1428
1484
<td><p><span class="term"><em class="parameter"><code>is_private</code></em> :</span></p></td>
1429
 
<td> <a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE"><code class="literal">TRUE</code></a> if the bookmark should be marked as private
 
1485
<td> <a class="link" href="glib-Standard-Macros.html#TRUE--CAPS" title="TRUE"><code class="literal">TRUE</code></a> if the bookmark should be marked as private
1430
1486
</td>
1431
1487
</tr>
1432
1488
</tbody>
1436
1492
<hr>
1437
1493
<div class="refsect2" title="g_bookmark_file_set_icon ()">
1438
1494
<a name="g-bookmark-file-set-icon"></a><h3>g_bookmark_file_set_icon ()</h3>
1439
 
<pre class="programlisting"><span class="returnvalue">void</span>                g_bookmark_file_set_icon            (<a class="link" href="glib-Bookmark-file-parser.html#GBookmarkFile" title="GBookmarkFile"><span class="returnvalue">GBookmarkFile</span></a> *bookmark,
1440
 
                                                         const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> *uri,
1441
 
                                                         const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> *href,
1442
 
                                                         const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> *mime_type);</pre>
 
1495
<pre class="programlisting">void                g_bookmark_file_set_icon            (<a class="link" href="glib-Bookmark-file-parser.html#GBookmarkFile" title="GBookmarkFile">GBookmarkFile</a> *bookmark,
 
1496
                                                         const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar">gchar</a> *uri,
 
1497
                                                         const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar">gchar</a> *href,
 
1498
                                                         const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar">gchar</a> *mime_type);</pre>
1443
1499
<p>
1444
 
Sets the icon for the bookmark for <em class="parameter"><code>uri</code></em>. If <em class="parameter"><code>href</code></em> is <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>, unsets
 
1500
Sets the icon for the bookmark for <em class="parameter"><code>uri</code></em>. If <em class="parameter"><code>href</code></em> is <a class="link" href="glib-Standard-Macros.html#NULL--CAPS" title="NULL"><code class="literal">NULL</code></a>, unsets
1445
1501
the currently set icon. <em class="parameter"><code>href</code></em> can either be a full URL for the icon
1446
1502
file or the icon name following the Icon Naming specification.
1447
1503
</p>
1448
1504
<p>
1449
1505
If no bookmark for <em class="parameter"><code>uri</code></em> is found one is created.</p>
 
1506
<p>
 
1507
</p>
1450
1508
<div class="variablelist"><table border="0">
1451
1509
<col align="left" valign="top">
1452
1510
<tbody>
1462
1520
</tr>
1463
1521
<tr>
1464
1522
<td><p><span class="term"><em class="parameter"><code>href</code></em> :</span></p></td>
1465
 
<td> the URI of the icon for the bookmark, or <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>
 
1523
<td> the URI of the icon for the bookmark, or <a class="link" href="glib-Standard-Macros.html#NULL--CAPS" title="NULL"><code class="literal">NULL</code></a>
1466
1524
</td>
1467
1525
</tr>
1468
1526
<tr>
1477
1535
<hr>
1478
1536
<div class="refsect2" title="g_bookmark_file_set_added ()">
1479
1537
<a name="g-bookmark-file-set-added"></a><h3>g_bookmark_file_set_added ()</h3>
1480
 
<pre class="programlisting"><span class="returnvalue">void</span>                g_bookmark_file_set_added           (<a class="link" href="glib-Bookmark-file-parser.html#GBookmarkFile" title="GBookmarkFile"><span class="returnvalue">GBookmarkFile</span></a> *bookmark,
1481
 
                                                         const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> *uri,
1482
 
                                                         <span class="returnvalue">time_t</span> added);</pre>
 
1538
<pre class="programlisting">void                g_bookmark_file_set_added           (<a class="link" href="glib-Bookmark-file-parser.html#GBookmarkFile" title="GBookmarkFile">GBookmarkFile</a> *bookmark,
 
1539
                                                         const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar">gchar</a> *uri,
 
1540
                                                         time_t added);</pre>
1483
1541
<p>
1484
1542
Sets the time the bookmark for <em class="parameter"><code>uri</code></em> was added into <em class="parameter"><code>bookmark</code></em>.
1485
1543
</p>
1486
1544
<p>
1487
1545
If no bookmark for <em class="parameter"><code>uri</code></em> is found then it is created.</p>
 
1546
<p>
 
1547
</p>
1488
1548
<div class="variablelist"><table border="0">
1489
1549
<col align="left" valign="top">
1490
1550
<tbody>
1510
1570
<hr>
1511
1571
<div class="refsect2" title="g_bookmark_file_set_groups ()">
1512
1572
<a name="g-bookmark-file-set-groups"></a><h3>g_bookmark_file_set_groups ()</h3>
1513
 
<pre class="programlisting"><span class="returnvalue">void</span>                g_bookmark_file_set_groups          (<a class="link" href="glib-Bookmark-file-parser.html#GBookmarkFile" title="GBookmarkFile"><span class="returnvalue">GBookmarkFile</span></a> *bookmark,
1514
 
                                                         const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> *uri,
1515
 
                                                         const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> **groups,
1516
 
                                                         <a class="link" href="glib-Basic-Types.html#gsize" title="gsize"><span class="returnvalue">gsize</span></a> length);</pre>
 
1573
<pre class="programlisting">void                g_bookmark_file_set_groups          (<a class="link" href="glib-Bookmark-file-parser.html#GBookmarkFile" title="GBookmarkFile">GBookmarkFile</a> *bookmark,
 
1574
                                                         const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar">gchar</a> *uri,
 
1575
                                                         const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar">gchar</a> **groups,
 
1576
                                                         <a class="link" href="glib-Basic-Types.html#gsize" title="gsize">gsize</a> length);</pre>
1517
1577
<p>
1518
1578
Sets a list of group names for the item with URI <em class="parameter"><code>uri</code></em>.  Each previously
1519
1579
set group name list is removed.
1520
1580
</p>
1521
1581
<p>
1522
1582
If <em class="parameter"><code>uri</code></em> cannot be found then an item for it is created.</p>
 
1583
<p>
 
1584
</p>
1523
1585
<div class="variablelist"><table border="0">
1524
1586
<col align="left" valign="top">
1525
1587
<tbody>
1535
1597
</tr>
1536
1598
<tr>
1537
1599
<td><p><span class="term"><em class="parameter"><code>groups</code></em> :</span></p></td>
1538
 
<td> an array of group names, or <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a> to remove all groups
 
1600
<td> an array of group names, or <a class="link" href="glib-Standard-Macros.html#NULL--CAPS" title="NULL"><code class="literal">NULL</code></a> to remove all groups
1539
1601
</td>
1540
1602
</tr>
1541
1603
<tr>
1550
1612
<hr>
1551
1613
<div class="refsect2" title="g_bookmark_file_set_modified ()">
1552
1614
<a name="g-bookmark-file-set-modified"></a><h3>g_bookmark_file_set_modified ()</h3>
1553
 
<pre class="programlisting"><span class="returnvalue">void</span>                g_bookmark_file_set_modified        (<a class="link" href="glib-Bookmark-file-parser.html#GBookmarkFile" title="GBookmarkFile"><span class="returnvalue">GBookmarkFile</span></a> *bookmark,
1554
 
                                                         const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> *uri,
1555
 
                                                         <span class="returnvalue">time_t</span> modified);</pre>
 
1615
<pre class="programlisting">void                g_bookmark_file_set_modified        (<a class="link" href="glib-Bookmark-file-parser.html#GBookmarkFile" title="GBookmarkFile">GBookmarkFile</a> *bookmark,
 
1616
                                                         const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar">gchar</a> *uri,
 
1617
                                                         time_t modified);</pre>
1556
1618
<p>
1557
1619
Sets the last time the bookmark for <em class="parameter"><code>uri</code></em> was last modified.
1558
1620
</p>
1564
1626
was actually changed.  Every function of <a class="link" href="glib-Bookmark-file-parser.html#GBookmarkFile" title="GBookmarkFile"><span class="type">GBookmarkFile</span></a> that
1565
1627
modifies a bookmark also changes the modification time, except for
1566
1628
<a class="link" href="glib-Bookmark-file-parser.html#g-bookmark-file-set-visited" title="g_bookmark_file_set_visited ()"><code class="function">g_bookmark_file_set_visited()</code></a>.</p>
 
1629
<p>
 
1630
</p>
1567
1631
<div class="variablelist"><table border="0">
1568
1632
<col align="left" valign="top">
1569
1633
<tbody>
1589
1653
<hr>
1590
1654
<div class="refsect2" title="g_bookmark_file_set_visited ()">
1591
1655
<a name="g-bookmark-file-set-visited"></a><h3>g_bookmark_file_set_visited ()</h3>
1592
 
<pre class="programlisting"><span class="returnvalue">void</span>                g_bookmark_file_set_visited         (<a class="link" href="glib-Bookmark-file-parser.html#GBookmarkFile" title="GBookmarkFile"><span class="returnvalue">GBookmarkFile</span></a> *bookmark,
1593
 
                                                         const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> *uri,
1594
 
                                                         <span class="returnvalue">time_t</span> visited);</pre>
 
1656
<pre class="programlisting">void                g_bookmark_file_set_visited         (<a class="link" href="glib-Bookmark-file-parser.html#GBookmarkFile" title="GBookmarkFile">GBookmarkFile</a> *bookmark,
 
1657
                                                         const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar">gchar</a> *uri,
 
1658
                                                         time_t visited);</pre>
1595
1659
<p>
1596
1660
Sets the time the bookmark for <em class="parameter"><code>uri</code></em> was last visited.
1597
1661
</p>
1604
1668
or by the default application for the bookmark's MIME type, retrieved
1605
1669
using <a class="link" href="glib-Bookmark-file-parser.html#g-bookmark-file-get-mime-type" title="g_bookmark_file_get_mime_type ()"><code class="function">g_bookmark_file_get_mime_type()</code></a>.  Changing the "visited" time
1606
1670
does not affect the "modified" time.</p>
 
1671
<p>
 
1672
</p>
1607
1673
<div class="variablelist"><table border="0">
1608
1674
<col align="left" valign="top">
1609
1675
<tbody>
1629
1695
<hr>
1630
1696
<div class="refsect2" title="g_bookmark_file_set_app_info ()">
1631
1697
<a name="g-bookmark-file-set-app-info"></a><h3>g_bookmark_file_set_app_info ()</h3>
1632
 
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="returnvalue">gboolean</span></a>            g_bookmark_file_set_app_info        (<a class="link" href="glib-Bookmark-file-parser.html#GBookmarkFile" title="GBookmarkFile"><span class="returnvalue">GBookmarkFile</span></a> *bookmark,
1633
 
                                                         const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> *uri,
1634
 
                                                         const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> *name,
1635
 
                                                         const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> *exec,
1636
 
                                                         <a class="link" href="glib-Basic-Types.html#gint" title="gint"><span class="returnvalue">gint</span></a> count,
1637
 
                                                         <span class="returnvalue">time_t</span> stamp,
1638
 
                                                         <a class="link" href="glib-Error-Reporting.html#GError" title="GError"><span class="returnvalue">GError</span></a> **error);</pre>
 
1698
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean">gboolean</a>            g_bookmark_file_set_app_info        (<a class="link" href="glib-Bookmark-file-parser.html#GBookmarkFile" title="GBookmarkFile">GBookmarkFile</a> *bookmark,
 
1699
                                                         const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar">gchar</a> *uri,
 
1700
                                                         const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar">gchar</a> *name,
 
1701
                                                         const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar">gchar</a> *exec,
 
1702
                                                         <a class="link" href="glib-Basic-Types.html#gint" title="gint">gint</a> count,
 
1703
                                                         time_t stamp,
 
1704
                                                         <a class="link" href="glib-Error-Reporting.html#GError" title="GError">GError</a> **error);</pre>
1639
1705
<p>
1640
1706
Sets the meta-data of application <em class="parameter"><code>name</code></em> inside the list of
1641
1707
applications that have registered a bookmark for <em class="parameter"><code>uri</code></em> inside
1662
1728
</p>
1663
1729
<p>
1664
1730
If you try to remove an application by setting its registration count to
1665
 
zero, and no bookmark for <em class="parameter"><code>uri</code></em> is found, <a class="link" href="glib-Standard-Macros.html#FALSE:CAPS" title="FALSE"><code class="literal">FALSE</code></a> is returned and
1666
 
<em class="parameter"><code>error</code></em> is set to <a class="link" href="glib-Bookmark-file-parser.html#G-BOOKMARK-FILE-ERROR-URI-NOT-FOUND:CAPS"><span class="type">G_BOOKMARK_FILE_ERROR_URI_NOT_FOUND</span></a>; similarly,
 
1731
zero, and no bookmark for <em class="parameter"><code>uri</code></em> is found, <a class="link" href="glib-Standard-Macros.html#FALSE--CAPS" title="FALSE"><code class="literal">FALSE</code></a> is returned and
 
1732
<em class="parameter"><code>error</code></em> is set to <a class="link" href="glib-Bookmark-file-parser.html#G-BOOKMARK-FILE-ERROR-URI-NOT-FOUND--CAPS"><span class="type">G_BOOKMARK_FILE_ERROR_URI_NOT_FOUND</span></a>; similarly,
1667
1733
in the event that no application <em class="parameter"><code>name</code></em> has registered a bookmark
1668
 
for <em class="parameter"><code>uri</code></em>,  <a class="link" href="glib-Standard-Macros.html#FALSE:CAPS" title="FALSE"><code class="literal">FALSE</code></a> is returned and error is set to
1669
 
<a class="link" href="glib-Bookmark-file-parser.html#G-BOOKMARK-FILE-ERROR-APP-NOT-REGISTERED:CAPS"><span class="type">G_BOOKMARK_FILE_ERROR_APP_NOT_REGISTERED</span></a>.  Otherwise, if no bookmark
 
1734
for <em class="parameter"><code>uri</code></em>,  <a class="link" href="glib-Standard-Macros.html#FALSE--CAPS" title="FALSE"><code class="literal">FALSE</code></a> is returned and error is set to
 
1735
<a class="link" href="glib-Bookmark-file-parser.html#G-BOOKMARK-FILE-ERROR-APP-NOT-REGISTERED--CAPS"><span class="type">G_BOOKMARK_FILE_ERROR_APP_NOT_REGISTERED</span></a>.  Otherwise, if no bookmark
1670
1736
for <em class="parameter"><code>uri</code></em> is found, one is created.</p>
 
1737
<p>
 
1738
</p>
1671
1739
<div class="variablelist"><table border="0">
1672
1740
<col align="left" valign="top">
1673
1741
<tbody>
1703
1771
</tr>
1704
1772
<tr>
1705
1773
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
1706
 
<td> return location for a <a class="link" href="glib-Error-Reporting.html#GError" title="GError"><span class="type">GError</span></a> or <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>
 
1774
<td> return location for a <a class="link" href="glib-Error-Reporting.html#GError" title="GError"><span class="type">GError</span></a> or <a class="link" href="glib-Standard-Macros.html#NULL--CAPS" title="NULL"><code class="literal">NULL</code></a>
1707
1775
</td>
1708
1776
</tr>
1709
1777
<tr>
1710
1778
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
1711
 
<td> <a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE"><code class="literal">TRUE</code></a> if the application's meta-data was successfully
 
1779
<td> <a class="link" href="glib-Standard-Macros.html#TRUE--CAPS" title="TRUE"><code class="literal">TRUE</code></a> if the application's meta-data was successfully
1712
1780
  changed.
1713
1781
 
1714
1782
</td>
1720
1788
<hr>
1721
1789
<div class="refsect2" title="g_bookmark_file_add_group ()">
1722
1790
<a name="g-bookmark-file-add-group"></a><h3>g_bookmark_file_add_group ()</h3>
1723
 
<pre class="programlisting"><span class="returnvalue">void</span>                g_bookmark_file_add_group           (<a class="link" href="glib-Bookmark-file-parser.html#GBookmarkFile" title="GBookmarkFile"><span class="returnvalue">GBookmarkFile</span></a> *bookmark,
1724
 
                                                         const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> *uri,
1725
 
                                                         const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> *group);</pre>
 
1791
<pre class="programlisting">void                g_bookmark_file_add_group           (<a class="link" href="glib-Bookmark-file-parser.html#GBookmarkFile" title="GBookmarkFile">GBookmarkFile</a> *bookmark,
 
1792
                                                         const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar">gchar</a> *uri,
 
1793
                                                         const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar">gchar</a> *group);</pre>
1726
1794
<p>
1727
1795
Adds <em class="parameter"><code>group</code></em> to the list of groups to which the bookmark for <em class="parameter"><code>uri</code></em>
1728
1796
belongs to.
1729
1797
</p>
1730
1798
<p>
1731
1799
If no bookmark for <em class="parameter"><code>uri</code></em> is found then it is created.</p>
 
1800
<p>
 
1801
</p>
1732
1802
<div class="variablelist"><table border="0">
1733
1803
<col align="left" valign="top">
1734
1804
<tbody>
1754
1824
<hr>
1755
1825
<div class="refsect2" title="g_bookmark_file_add_application ()">
1756
1826
<a name="g-bookmark-file-add-application"></a><h3>g_bookmark_file_add_application ()</h3>
1757
 
<pre class="programlisting"><span class="returnvalue">void</span>                g_bookmark_file_add_application     (<a class="link" href="glib-Bookmark-file-parser.html#GBookmarkFile" title="GBookmarkFile"><span class="returnvalue">GBookmarkFile</span></a> *bookmark,
1758
 
                                                         const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> *uri,
1759
 
                                                         const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> *name,
1760
 
                                                         const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> *exec);</pre>
 
1827
<pre class="programlisting">void                g_bookmark_file_add_application     (<a class="link" href="glib-Bookmark-file-parser.html#GBookmarkFile" title="GBookmarkFile">GBookmarkFile</a> *bookmark,
 
1828
                                                         const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar">gchar</a> *uri,
 
1829
                                                         const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar">gchar</a> *name,
 
1830
                                                         const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar">gchar</a> *exec);</pre>
1761
1831
<p>
1762
1832
Adds the application with <em class="parameter"><code>name</code></em> and <em class="parameter"><code>exec</code></em> to the list of
1763
1833
applications that have registered a bookmark for <em class="parameter"><code>uri</code></em> into
1771
1841
time the application registered this bookmark.
1772
1842
</p>
1773
1843
<p>
1774
 
If <em class="parameter"><code>name</code></em> is <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>, the name of the application will be the
1775
 
same returned by <a class="link" href="glib-Miscellaneous-Utility-Functions.html#g-get-application-name" title="g_get_application_name ()"><code class="function">g_get_application_name()</code></a>; if <em class="parameter"><code>exec</code></em> is <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>, the
 
1844
If <em class="parameter"><code>name</code></em> is <a class="link" href="glib-Standard-Macros.html#NULL--CAPS" title="NULL"><code class="literal">NULL</code></a>, the name of the application will be the
 
1845
same returned by <a class="link" href="glib-Miscellaneous-Utility-Functions.html#g-get-application-name" title="g_get_application_name ()"><code class="function">g_get_application_name()</code></a>; if <em class="parameter"><code>exec</code></em> is <a class="link" href="glib-Standard-Macros.html#NULL--CAPS" title="NULL"><code class="literal">NULL</code></a>, the
1776
1846
command line will be a composition of the program name as
1777
1847
returned by <a class="link" href="glib-Miscellaneous-Utility-Functions.html#g-get-prgname" title="g_get_prgname ()"><code class="function">g_get_prgname()</code></a> and the "<code class="literal">u</code>" modifier, which will be
1778
1848
expanded to the bookmark's URI.
1785
1855
</p>
1786
1856
<p>
1787
1857
If no bookmark for <em class="parameter"><code>uri</code></em> is found, one is created.</p>
 
1858
<p>
 
1859
</p>
1788
1860
<div class="variablelist"><table border="0">
1789
1861
<col align="left" valign="top">
1790
1862
<tbody>
1801
1873
<tr>
1802
1874
<td><p><span class="term"><em class="parameter"><code>name</code></em> :</span></p></td>
1803
1875
<td> the name of the application registering the bookmark
1804
 
  or <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>
 
1876
  or <a class="link" href="glib-Standard-Macros.html#NULL--CAPS" title="NULL"><code class="literal">NULL</code></a>
1805
1877
</td>
1806
1878
</tr>
1807
1879
<tr>
1808
1880
<td><p><span class="term"><em class="parameter"><code>exec</code></em> :</span></p></td>
1809
 
<td> command line to be used to launch the bookmark or <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>
 
1881
<td> command line to be used to launch the bookmark or <a class="link" href="glib-Standard-Macros.html#NULL--CAPS" title="NULL"><code class="literal">NULL</code></a>
1810
1882
</td>
1811
1883
</tr>
1812
1884
</tbody>
1816
1888
<hr>
1817
1889
<div class="refsect2" title="g_bookmark_file_remove_group ()">
1818
1890
<a name="g-bookmark-file-remove-group"></a><h3>g_bookmark_file_remove_group ()</h3>
1819
 
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="returnvalue">gboolean</span></a>            g_bookmark_file_remove_group        (<a class="link" href="glib-Bookmark-file-parser.html#GBookmarkFile" title="GBookmarkFile"><span class="returnvalue">GBookmarkFile</span></a> *bookmark,
1820
 
                                                         const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> *uri,
1821
 
                                                         const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> *group,
1822
 
                                                         <a class="link" href="glib-Error-Reporting.html#GError" title="GError"><span class="returnvalue">GError</span></a> **error);</pre>
 
1891
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean">gboolean</a>            g_bookmark_file_remove_group        (<a class="link" href="glib-Bookmark-file-parser.html#GBookmarkFile" title="GBookmarkFile">GBookmarkFile</a> *bookmark,
 
1892
                                                         const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar">gchar</a> *uri,
 
1893
                                                         const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar">gchar</a> *group,
 
1894
                                                         <a class="link" href="glib-Error-Reporting.html#GError" title="GError">GError</a> **error);</pre>
1823
1895
<p>
1824
1896
Removes <em class="parameter"><code>group</code></em> from the list of groups to which the bookmark
1825
1897
for <em class="parameter"><code>uri</code></em> belongs to.
1826
1898
</p>
1827
1899
<p>
1828
 
In the event the URI cannot be found, <a class="link" href="glib-Standard-Macros.html#FALSE:CAPS" title="FALSE"><code class="literal">FALSE</code></a> is returned and
1829
 
<em class="parameter"><code>error</code></em> is set to <a class="link" href="glib-Bookmark-file-parser.html#G-BOOKMARK-FILE-ERROR-URI-NOT-FOUND:CAPS"><span class="type">G_BOOKMARK_FILE_ERROR_URI_NOT_FOUND</span></a>.
1830
 
In the event no group was defined, <a class="link" href="glib-Standard-Macros.html#FALSE:CAPS" title="FALSE"><code class="literal">FALSE</code></a> is returned and
1831
 
<em class="parameter"><code>error</code></em> is set to <a class="link" href="glib-Bookmark-file-parser.html#G-BOOKMARK-FILE-ERROR-INVALID-VALUE:CAPS"><span class="type">G_BOOKMARK_FILE_ERROR_INVALID_VALUE</span></a>.</p>
 
1900
In the event the URI cannot be found, <a class="link" href="glib-Standard-Macros.html#FALSE--CAPS" title="FALSE"><code class="literal">FALSE</code></a> is returned and
 
1901
<em class="parameter"><code>error</code></em> is set to <a class="link" href="glib-Bookmark-file-parser.html#G-BOOKMARK-FILE-ERROR-URI-NOT-FOUND--CAPS"><span class="type">G_BOOKMARK_FILE_ERROR_URI_NOT_FOUND</span></a>.
 
1902
In the event no group was defined, <a class="link" href="glib-Standard-Macros.html#FALSE--CAPS" title="FALSE"><code class="literal">FALSE</code></a> is returned and
 
1903
<em class="parameter"><code>error</code></em> is set to <a class="link" href="glib-Bookmark-file-parser.html#G-BOOKMARK-FILE-ERROR-INVALID-VALUE--CAPS"><span class="type">G_BOOKMARK_FILE_ERROR_INVALID_VALUE</span></a>.</p>
 
1904
<p>
 
1905
</p>
1832
1906
<div class="variablelist"><table border="0">
1833
1907
<col align="left" valign="top">
1834
1908
<tbody>
1849
1923
</tr>
1850
1924
<tr>
1851
1925
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
1852
 
<td> return location for a <a class="link" href="glib-Error-Reporting.html#GError" title="GError"><span class="type">GError</span></a>, or <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>
 
1926
<td> return location for a <a class="link" href="glib-Error-Reporting.html#GError" title="GError"><span class="type">GError</span></a>, or <a class="link" href="glib-Standard-Macros.html#NULL--CAPS" title="NULL"><code class="literal">NULL</code></a>
1853
1927
</td>
1854
1928
</tr>
1855
1929
<tr>
1856
1930
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
1857
 
<td> <a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE"><code class="literal">TRUE</code></a> if <em class="parameter"><code>group</code></em> was successfully removed.
 
1931
<td> <a class="link" href="glib-Standard-Macros.html#TRUE--CAPS" title="TRUE"><code class="literal">TRUE</code></a> if <em class="parameter"><code>group</code></em> was successfully removed.
1858
1932
 
1859
1933
</td>
1860
1934
</tr>
1865
1939
<hr>
1866
1940
<div class="refsect2" title="g_bookmark_file_remove_application ()">
1867
1941
<a name="g-bookmark-file-remove-application"></a><h3>g_bookmark_file_remove_application ()</h3>
1868
 
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="returnvalue">gboolean</span></a>            g_bookmark_file_remove_application  (<a class="link" href="glib-Bookmark-file-parser.html#GBookmarkFile" title="GBookmarkFile"><span class="returnvalue">GBookmarkFile</span></a> *bookmark,
1869
 
                                                         const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> *uri,
1870
 
                                                         const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> *name,
1871
 
                                                         <a class="link" href="glib-Error-Reporting.html#GError" title="GError"><span class="returnvalue">GError</span></a> **error);</pre>
 
1942
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean">gboolean</a>            g_bookmark_file_remove_application  (<a class="link" href="glib-Bookmark-file-parser.html#GBookmarkFile" title="GBookmarkFile">GBookmarkFile</a> *bookmark,
 
1943
                                                         const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar">gchar</a> *uri,
 
1944
                                                         const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar">gchar</a> *name,
 
1945
                                                         <a class="link" href="glib-Error-Reporting.html#GError" title="GError">GError</a> **error);</pre>
1872
1946
<p>
1873
1947
Removes application registered with <em class="parameter"><code>name</code></em> from the list of applications
1874
1948
that have registered a bookmark for <em class="parameter"><code>uri</code></em> inside <em class="parameter"><code>bookmark</code></em>.
1875
1949
</p>
1876
1950
<p>
1877
 
In the event the URI cannot be found, <a class="link" href="glib-Standard-Macros.html#FALSE:CAPS" title="FALSE"><code class="literal">FALSE</code></a> is returned and
1878
 
<em class="parameter"><code>error</code></em> is set to <a class="link" href="glib-Bookmark-file-parser.html#G-BOOKMARK-FILE-ERROR-URI-NOT-FOUND:CAPS"><span class="type">G_BOOKMARK_FILE_ERROR_URI_NOT_FOUND</span></a>.
 
1951
In the event the URI cannot be found, <a class="link" href="glib-Standard-Macros.html#FALSE--CAPS" title="FALSE"><code class="literal">FALSE</code></a> is returned and
 
1952
<em class="parameter"><code>error</code></em> is set to <a class="link" href="glib-Bookmark-file-parser.html#G-BOOKMARK-FILE-ERROR-URI-NOT-FOUND--CAPS"><span class="type">G_BOOKMARK_FILE_ERROR_URI_NOT_FOUND</span></a>.
1879
1953
In the event that no application with name <em class="parameter"><code>app_name</code></em> has registered
1880
 
a bookmark for <em class="parameter"><code>uri</code></em>,  <a class="link" href="glib-Standard-Macros.html#FALSE:CAPS" title="FALSE"><code class="literal">FALSE</code></a> is returned and error is set to
1881
 
<a class="link" href="glib-Bookmark-file-parser.html#G-BOOKMARK-FILE-ERROR-APP-NOT-REGISTERED:CAPS"><span class="type">G_BOOKMARK_FILE_ERROR_APP_NOT_REGISTERED</span></a>.</p>
 
1954
a bookmark for <em class="parameter"><code>uri</code></em>,  <a class="link" href="glib-Standard-Macros.html#FALSE--CAPS" title="FALSE"><code class="literal">FALSE</code></a> is returned and error is set to
 
1955
<a class="link" href="glib-Bookmark-file-parser.html#G-BOOKMARK-FILE-ERROR-APP-NOT-REGISTERED--CAPS"><span class="type">G_BOOKMARK_FILE_ERROR_APP_NOT_REGISTERED</span></a>.</p>
 
1956
<p>
 
1957
</p>
1882
1958
<div class="variablelist"><table border="0">
1883
1959
<col align="left" valign="top">
1884
1960
<tbody>
1899
1975
</tr>
1900
1976
<tr>
1901
1977
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
1902
 
<td> return location for a <a class="link" href="glib-Error-Reporting.html#GError" title="GError"><span class="type">GError</span></a> or <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>
 
1978
<td> return location for a <a class="link" href="glib-Error-Reporting.html#GError" title="GError"><span class="type">GError</span></a> or <a class="link" href="glib-Standard-Macros.html#NULL--CAPS" title="NULL"><code class="literal">NULL</code></a>
1903
1979
</td>
1904
1980
</tr>
1905
1981
<tr>
1906
1982
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
1907
 
<td> <a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE"><code class="literal">TRUE</code></a> if the application was successfully removed.
 
1983
<td> <a class="link" href="glib-Standard-Macros.html#TRUE--CAPS" title="TRUE"><code class="literal">TRUE</code></a> if the application was successfully removed.
1908
1984
 
1909
1985
</td>
1910
1986
</tr>
1915
1991
<hr>
1916
1992
<div class="refsect2" title="g_bookmark_file_remove_item ()">
1917
1993
<a name="g-bookmark-file-remove-item"></a><h3>g_bookmark_file_remove_item ()</h3>
1918
 
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="returnvalue">gboolean</span></a>            g_bookmark_file_remove_item         (<a class="link" href="glib-Bookmark-file-parser.html#GBookmarkFile" title="GBookmarkFile"><span class="returnvalue">GBookmarkFile</span></a> *bookmark,
1919
 
                                                         const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> *uri,
1920
 
                                                         <a class="link" href="glib-Error-Reporting.html#GError" title="GError"><span class="returnvalue">GError</span></a> **error);</pre>
 
1994
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean">gboolean</a>            g_bookmark_file_remove_item         (<a class="link" href="glib-Bookmark-file-parser.html#GBookmarkFile" title="GBookmarkFile">GBookmarkFile</a> *bookmark,
 
1995
                                                         const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar">gchar</a> *uri,
 
1996
                                                         <a class="link" href="glib-Error-Reporting.html#GError" title="GError">GError</a> **error);</pre>
1921
1997
<p>
1922
1998
Removes the bookmark for <em class="parameter"><code>uri</code></em> from the bookmark file <em class="parameter"><code>bookmark</code></em>.</p>
 
1999
<p>
 
2000
</p>
1923
2001
<div class="variablelist"><table border="0">
1924
2002
<col align="left" valign="top">
1925
2003
<tbody>
1935
2013
</tr>
1936
2014
<tr>
1937
2015
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
1938
 
<td> return location for a <a class="link" href="glib-Error-Reporting.html#GError" title="GError"><span class="type">GError</span></a>, or <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>
 
2016
<td> return location for a <a class="link" href="glib-Error-Reporting.html#GError" title="GError"><span class="type">GError</span></a>, or <a class="link" href="glib-Standard-Macros.html#NULL--CAPS" title="NULL"><code class="literal">NULL</code></a>
1939
2017
</td>
1940
2018
</tr>
1941
2019
<tr>
1942
2020
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
1943
 
<td> <a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE"><code class="literal">TRUE</code></a> if the bookmark was removed successfully.
 
2021
<td> <a class="link" href="glib-Standard-Macros.html#TRUE--CAPS" title="TRUE"><code class="literal">TRUE</code></a> if the bookmark was removed successfully.
1944
2022
 
1945
2023
</td>
1946
2024
</tr>
1951
2029
<hr>
1952
2030
<div class="refsect2" title="g_bookmark_file_move_item ()">
1953
2031
<a name="g-bookmark-file-move-item"></a><h3>g_bookmark_file_move_item ()</h3>
1954
 
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean"><span class="returnvalue">gboolean</span></a>            g_bookmark_file_move_item           (<a class="link" href="glib-Bookmark-file-parser.html#GBookmarkFile" title="GBookmarkFile"><span class="returnvalue">GBookmarkFile</span></a> *bookmark,
1955
 
                                                         const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> *old_uri,
1956
 
                                                         const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar"><span class="returnvalue">gchar</span></a> *new_uri,
1957
 
                                                         <a class="link" href="glib-Error-Reporting.html#GError" title="GError"><span class="returnvalue">GError</span></a> **error);</pre>
 
2032
<pre class="programlisting"><a class="link" href="glib-Basic-Types.html#gboolean" title="gboolean">gboolean</a>            g_bookmark_file_move_item           (<a class="link" href="glib-Bookmark-file-parser.html#GBookmarkFile" title="GBookmarkFile">GBookmarkFile</a> *bookmark,
 
2033
                                                         const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar">gchar</a> *old_uri,
 
2034
                                                         const <a class="link" href="glib-Basic-Types.html#gchar" title="gchar">gchar</a> *new_uri,
 
2035
                                                         <a class="link" href="glib-Error-Reporting.html#GError" title="GError">GError</a> **error);</pre>
1958
2036
<p>
1959
2037
Changes the URI of a bookmark item from <em class="parameter"><code>old_uri</code></em> to <em class="parameter"><code>new_uri</code></em>.  Any
1960
2038
existing bookmark for <em class="parameter"><code>new_uri</code></em> will be overwritten.  If <em class="parameter"><code>new_uri</code></em> is
1961
 
<a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>, then the bookmark is removed.
1962
 
</p>
1963
 
<p>
1964
 
In the event the URI cannot be found, <a class="link" href="glib-Standard-Macros.html#FALSE:CAPS" title="FALSE"><code class="literal">FALSE</code></a> is returned and
1965
 
<em class="parameter"><code>error</code></em> is set to <a class="link" href="glib-Bookmark-file-parser.html#G-BOOKMARK-FILE-ERROR-URI-NOT-FOUND:CAPS"><span class="type">G_BOOKMARK_FILE_ERROR_URI_NOT_FOUND</span></a>.</p>
 
2039
<a class="link" href="glib-Standard-Macros.html#NULL--CAPS" title="NULL"><code class="literal">NULL</code></a>, then the bookmark is removed.
 
2040
</p>
 
2041
<p>
 
2042
In the event the URI cannot be found, <a class="link" href="glib-Standard-Macros.html#FALSE--CAPS" title="FALSE"><code class="literal">FALSE</code></a> is returned and
 
2043
<em class="parameter"><code>error</code></em> is set to <a class="link" href="glib-Bookmark-file-parser.html#G-BOOKMARK-FILE-ERROR-URI-NOT-FOUND--CAPS"><span class="type">G_BOOKMARK_FILE_ERROR_URI_NOT_FOUND</span></a>.</p>
 
2044
<p>
 
2045
</p>
1966
2046
<div class="variablelist"><table border="0">
1967
2047
<col align="left" valign="top">
1968
2048
<tbody>
1978
2058
</tr>
1979
2059
<tr>
1980
2060
<td><p><span class="term"><em class="parameter"><code>new_uri</code></em> :</span></p></td>
1981
 
<td> a valid URI, or <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>
 
2061
<td> a valid URI, or <a class="link" href="glib-Standard-Macros.html#NULL--CAPS" title="NULL"><code class="literal">NULL</code></a>
1982
2062
</td>
1983
2063
</tr>
1984
2064
<tr>
1985
2065
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
1986
 
<td> return location for a <a class="link" href="glib-Error-Reporting.html#GError" title="GError"><span class="type">GError</span></a> or <a class="link" href="glib-Standard-Macros.html#NULL:CAPS" title="NULL"><code class="literal">NULL</code></a>
 
2066
<td> return location for a <a class="link" href="glib-Error-Reporting.html#GError" title="GError"><span class="type">GError</span></a> or <a class="link" href="glib-Standard-Macros.html#NULL--CAPS" title="NULL"><code class="literal">NULL</code></a>
1987
2067
</td>
1988
2068
</tr>
1989
2069
<tr>
1990
2070
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
1991
 
<td> <a class="link" href="glib-Standard-Macros.html#TRUE:CAPS" title="TRUE"><code class="literal">TRUE</code></a> if the URI was successfully changed
 
2071
<td> <a class="link" href="glib-Standard-Macros.html#TRUE--CAPS" title="TRUE"><code class="literal">TRUE</code></a> if the URI was successfully changed
1992
2072
 
1993
2073
</td>
1994
2074
</tr>
2000
2080
</div>
2001
2081
<div class="footer">
2002
2082
<hr>
2003
 
          Generated by GTK-Doc V1.13</div>
 
2083
          Generated by GTK-Doc V1.11</div>
2004
2084
</body>
2005
 
</html>
 
 
b'\\ No newline at end of file'
 
2085
</html>