1
1
<refentry id="gnome-vfs-20-gnome-vfs-mime-database-deprecated">
3
<refentrytitle role="top_of_page">gnome-vfs-mime-database-deprecated</refentrytitle>
3
<refentrytitle role="top_of_page" id="gnome-vfs-20-gnome-vfs-mime-database-deprecated.top_of_page">gnome-vfs-mime-database-deprecated</refentrytitle>
4
4
<manvolnum>3</manvolnum>
5
5
<refmiscinfo>GNOME-VFS-2.0 Library</refmiscinfo>
11
11
<!--[<xref linkend="desc" endterm="desc.title"/>]-->
14
<refsynopsisdiv role="synopsis">
14
<refsynopsisdiv id="gnome-vfs-20-gnome-vfs-mime-database-deprecated.synopsis" role="synopsis">
15
15
<title role="synopsis.title">Synopsis</title>
21
18
enum <link linkend="GnomeVFSMimeActionType">GnomeVFSMimeActionType</link>;
22
19
enum <link linkend="GnomeVFSMimeApplicationArgumentType">GnomeVFSMimeApplicationArgumentType</link>;
23
20
<link linkend="GnomeVFSMimeAction">GnomeVFSMimeAction</link>;
141
<refsect1 role="desc">
138
<refsect1 id="gnome-vfs-20-gnome-vfs-mime-database-deprecated.description" role="desc">
142
139
<title role="desc.title">Description</title>
148
<refsect1 role="details">
145
<refsect1 id="gnome-vfs-20-gnome-vfs-mime-database-deprecated.details" role="details">
149
146
<title role="details.title">Details</title>
151
<title><anchor id="GnomeVFSMimeActionType" role="enum" condition="deprecated:"/>enum GnomeVFSMimeActionType</title>
152
<indexterm role="deprecated"><primary>GnomeVFSMimeActionType</primary></indexterm><programlisting>typedef enum {
147
<refsect2 id="GnomeVFSMimeActionType" role="enum" condition="deprecated:">
148
<title>enum GnomeVFSMimeActionType</title>
149
<indexterm zone="GnomeVFSMimeActionType" role="deprecated"><primary>GnomeVFSMimeActionType</primary></indexterm><programlisting>typedef enum {
153
150
GNOME_VFS_MIME_ACTION_TYPE_NONE,
154
151
GNOME_VFS_MIME_ACTION_TYPE_APPLICATION,
155
152
GNOME_VFS_MIME_ACTION_TYPE_COMPONENT
163
160
</para><variablelist role="enum">
165
<term><anchor id="GNOME-VFS-MIME-ACTION-TYPE-NONE:CAPS" role="constant"/><literal>GNOME_VFS_MIME_ACTION_TYPE_NONE</literal></term>
161
<varlistentry id="GNOME-VFS-MIME-ACTION-TYPE-NONE:CAPS" role="constant">
162
<term><literal>GNOME_VFS_MIME_ACTION_TYPE_NONE</literal></term>
166
163
<listitem><simpara> neither an application nor a component.
167
164
</simpara></listitem>
170
<term><anchor id="GNOME-VFS-MIME-ACTION-TYPE-APPLICATION:CAPS" role="constant"/><literal>GNOME_VFS_MIME_ACTION_TYPE_APPLICATION</literal></term>
166
<varlistentry id="GNOME-VFS-MIME-ACTION-TYPE-APPLICATION:CAPS" role="constant">
167
<term><literal>GNOME_VFS_MIME_ACTION_TYPE_APPLICATION</literal></term>
171
168
<listitem><simpara> an application.
172
169
</simpara></listitem>
175
<term><anchor id="GNOME-VFS-MIME-ACTION-TYPE-COMPONENT:CAPS" role="constant"/><literal>GNOME_VFS_MIME_ACTION_TYPE_COMPONENT</literal></term>
171
<varlistentry id="GNOME-VFS-MIME-ACTION-TYPE-COMPONENT:CAPS" role="constant">
172
<term><literal>GNOME_VFS_MIME_ACTION_TYPE_COMPONENT</literal></term>
176
173
<listitem><simpara> a component.
177
174
</simpara></listitem>
179
176
</variablelist></refsect2>
181
<title><anchor id="GnomeVFSMimeApplicationArgumentType" role="enum"/>enum GnomeVFSMimeApplicationArgumentType</title>
182
<indexterm><primary>GnomeVFSMimeApplicationArgumentType</primary></indexterm><programlisting>typedef enum {
177
<refsect2 id="GnomeVFSMimeApplicationArgumentType" role="enum">
178
<title>enum GnomeVFSMimeApplicationArgumentType</title>
179
<indexterm zone="GnomeVFSMimeApplicationArgumentType"><primary>GnomeVFSMimeApplicationArgumentType</primary></indexterm><programlisting>typedef enum {
183
180
GNOME_VFS_MIME_APPLICATION_ARGUMENT_TYPE_URIS,
184
181
GNOME_VFS_MIME_APPLICATION_ARGUMENT_TYPE_PATHS,
185
182
GNOME_VFS_MIME_APPLICATION_ARGUMENT_TYPE_URIS_FOR_NON_FILES
190
187
</para></refsect2>
192
<title><anchor id="GnomeVFSMimeAction" role="struct" condition="deprecated:"/>GnomeVFSMimeAction</title>
193
<indexterm role="deprecated"><primary>GnomeVFSMimeAction</primary></indexterm><programlisting>typedef struct {
188
<refsect2 id="GnomeVFSMimeAction" role="struct" condition="deprecated:">
189
<title>GnomeVFSMimeAction</title>
190
<indexterm zone="GnomeVFSMimeAction" role="deprecated"><primary>GnomeVFSMimeAction</primary></indexterm><programlisting>typedef struct {
194
191
GnomeVFSMimeActionType action_type;
197
194
void *dummy_component;
198
195
GnomeVFSMimeApplication *application;
199
197
} GnomeVFSMimeAction;
200
198
</programlisting>
201
199
<warning><para><literal>GnomeVFSMimeAction</literal> is deprecated and should not be used in newly-written code.</para></warning>
211
209
</simpara></listitem>
213
211
</variablelist></refsect2>
215
<title><anchor id="gnome-vfs-mime-get-default-action-type" role="function" condition="deprecated"/>gnome_vfs_mime_get_default_action_type ()</title>
216
<indexterm role="deprecated"><primary>gnome_vfs_mime_get_default_action_type</primary></indexterm><programlisting><link linkend="GnomeVFSMimeActionType">GnomeVFSMimeActionType</link> gnome_vfs_mime_get_default_action_type
212
<refsect2 id="gnome-vfs-mime-get-default-action-type" role="function" condition="deprecated">
213
<title>gnome_vfs_mime_get_default_action_type ()</title>
214
<indexterm zone="gnome-vfs-mime-get-default-action-type" role="deprecated"><primary>gnome_vfs_mime_get_default_action_type</primary></indexterm><programlisting><link linkend="GnomeVFSMimeActionType">GnomeVFSMimeActionType</link> gnome_vfs_mime_get_default_action_type
217
215
(const <link linkend="char">char</link> *mime_type);</programlisting>
218
216
<warning><para><literal>gnome_vfs_mime_get_default_action_type</literal> is deprecated and should not be used in newly-written code. This function does not work with the new mime system.
219
217
It always returns none</para></warning>
221
Query the MIME database for the type of action to be performed on <parameter>mime_type</parameter>.
219
Query the MIME database for the type of action to be performed on <parameter>mime_type</parameter>.</para>
227
222
</para><variablelist role="params">
232
227
MIME type <parameter>mime_type</parameter> by default.
233
228
</simpara></listitem></varlistentry>
234
229
</variablelist></refsect2>
236
<title><anchor id="gnome-vfs-mime-get-default-action" role="function" condition="deprecated:Use gnome_vfs_mime_get_default_application() instead."/>gnome_vfs_mime_get_default_action ()</title>
237
<indexterm role="deprecated"><primary>gnome_vfs_mime_get_default_action</primary></indexterm><programlisting><link linkend="GnomeVFSMimeAction">GnomeVFSMimeAction</link>* gnome_vfs_mime_get_default_action (const <link linkend="char">char</link> *mime_type);</programlisting>
230
<refsect2 id="gnome-vfs-mime-get-default-action" role="function" condition="deprecated:Use gnome_vfs_mime_get_default_application() instead.">
231
<title>gnome_vfs_mime_get_default_action ()</title>
232
<indexterm zone="gnome-vfs-mime-get-default-action" role="deprecated"><primary>gnome_vfs_mime_get_default_action</primary></indexterm><programlisting><link linkend="GnomeVFSMimeAction">GnomeVFSMimeAction</link>* gnome_vfs_mime_get_default_action (const <link linkend="char">char</link> *mime_type);</programlisting>
238
233
<warning><para><literal>gnome_vfs_mime_get_default_action</literal> is deprecated and should not be used in newly-written code. Use <link linkend="gnome-vfs-mime-get-default-application"><function>gnome_vfs_mime_get_default_application()</function></link> instead.</para></warning>
240
Query the MIME database for default action associated with <parameter>mime_type</parameter>.
235
Query the MIME database for default action associated with <parameter>mime_type</parameter>.</para>
246
238
</para><variablelist role="params">
251
243
file of type <parameter>mime_type</parameter>.
252
244
</simpara></listitem></varlistentry>
253
245
</variablelist></refsect2>
255
<title><anchor id="gnome-vfs-mime-get-short-list-applications" role="function" condition="deprecated:Use gnome_vfs_mime_get_all_applications() instead."/>gnome_vfs_mime_get_short_list_applications ()</title>
256
<indexterm role="deprecated"><primary>gnome_vfs_mime_get_short_list_applications</primary></indexterm><programlisting><link linkend="GList">GList</link>* gnome_vfs_mime_get_short_list_applications
246
<refsect2 id="gnome-vfs-mime-get-short-list-applications" role="function" condition="deprecated:Use gnome_vfs_mime_get_all_applications() instead.">
247
<title>gnome_vfs_mime_get_short_list_applications ()</title>
248
<indexterm zone="gnome-vfs-mime-get-short-list-applications" role="deprecated"><primary>gnome_vfs_mime_get_short_list_applications</primary></indexterm><programlisting><link linkend="GList">GList</link>* gnome_vfs_mime_get_short_list_applications
257
249
(const <link linkend="char">char</link> *mime_type);</programlisting>
258
250
<warning><para><literal>gnome_vfs_mime_get_short_list_applications</literal> is deprecated and should not be used in newly-written code. Use <link linkend="gnome-vfs-mime-get-all-applications"><function>gnome_vfs_mime_get_all_applications()</function></link> instead.</para></warning>
273
265
</simpara></listitem></varlistentry>
274
266
</variablelist></refsect2>
276
<title><anchor id="gnome-vfs-mime-get-short-list-components" role="function" condition="deprecated:"/>gnome_vfs_mime_get_short_list_components ()</title>
277
<indexterm role="deprecated"><primary>gnome_vfs_mime_get_short_list_components</primary></indexterm><programlisting><link linkend="GList">GList</link>* gnome_vfs_mime_get_short_list_components
267
<refsect2 id="gnome-vfs-mime-get-short-list-components" role="function" condition="deprecated:">
268
<title>gnome_vfs_mime_get_short_list_components ()</title>
269
<indexterm zone="gnome-vfs-mime-get-short-list-components" role="deprecated"><primary>gnome_vfs_mime_get_short_list_components</primary></indexterm><programlisting><link linkend="GList">GList</link>* gnome_vfs_mime_get_short_list_components
278
270
(const <link linkend="char">char</link> *mime_type);</programlisting>
279
271
<warning><para><literal>gnome_vfs_mime_get_short_list_components</literal> is deprecated and should not be used in newly-written code.</para></warning>
289
281
</simpara></listitem></varlistentry>
290
282
</variablelist></refsect2>
292
<title><anchor id="gnome-vfs-mime-set-default-action-type" role="function" condition="deprecated:User modifications to the MIME database are no longer supported by gnome-vfs."/>gnome_vfs_mime_set_default_action_type ()</title>
293
<indexterm role="deprecated"><primary>gnome_vfs_mime_set_default_action_type</primary></indexterm><programlisting><link linkend="GnomeVFSResult">GnomeVFSResult</link> gnome_vfs_mime_set_default_action_type
283
<refsect2 id="gnome-vfs-mime-set-default-action-type" role="function" condition="deprecated:User modifications to the MIME database are no longer supported by gnome-vfs.">
284
<title>gnome_vfs_mime_set_default_action_type ()</title>
285
<indexterm zone="gnome-vfs-mime-set-default-action-type" role="deprecated"><primary>gnome_vfs_mime_set_default_action_type</primary></indexterm><programlisting><link linkend="GnomeVFSResult">GnomeVFSResult</link> gnome_vfs_mime_set_default_action_type
294
286
(const <link linkend="char">char</link> *mime_type,
295
287
<link linkend="GnomeVFSMimeActionType">GnomeVFSMimeActionType</link> action_type);</programlisting>
296
288
<warning><para><literal>gnome_vfs_mime_set_default_action_type</literal> is deprecated and should not be used in newly-written code. User modifications to the MIME database are no longer supported by gnome-vfs.</para></warning>
311
303
</simpara></listitem></varlistentry>
312
304
</variablelist></refsect2>
314
<title><anchor id="gnome-vfs-mime-set-icon" role="function" condition="deprecated"/>gnome_vfs_mime_set_icon ()</title>
315
<indexterm role="deprecated"><primary>gnome_vfs_mime_set_icon</primary></indexterm><programlisting><link linkend="GnomeVFSResult">GnomeVFSResult</link> gnome_vfs_mime_set_icon (const <link linkend="char">char</link> *mime_type,
305
<refsect2 id="gnome-vfs-mime-set-icon" role="function" condition="deprecated">
306
<title>gnome_vfs_mime_set_icon ()</title>
307
<indexterm zone="gnome-vfs-mime-set-icon" role="deprecated"><primary>gnome_vfs_mime_set_icon</primary></indexterm><programlisting><link linkend="GnomeVFSResult">GnomeVFSResult</link> gnome_vfs_mime_set_icon (const <link linkend="char">char</link> *mime_type,
316
308
const <link linkend="char">char</link> *filename);</programlisting>
317
309
<warning><para><literal>gnome_vfs_mime_set_icon</literal> is deprecated and should not be used in newly-written code. User modifications to the MIME database are no longer
318
310
supported in gnome-vfs.</para></warning>
336
328
</simpara></listitem></varlistentry>
337
329
</variablelist></refsect2>
339
<title><anchor id="gnome-vfs-mime-set-description" role="function" condition="deprecated:User modifications to the MIME database are no longer supported by gnome-vfs."/>gnome_vfs_mime_set_description ()</title>
340
<indexterm role="deprecated"><primary>gnome_vfs_mime_set_description</primary></indexterm><programlisting><link linkend="GnomeVFSResult">GnomeVFSResult</link> gnome_vfs_mime_set_description (const <link linkend="char">char</link> *mime_type,
330
<refsect2 id="gnome-vfs-mime-set-description" role="function" condition="deprecated:User modifications to the MIME database are no longer supported by gnome-vfs.">
331
<title>gnome_vfs_mime_set_description ()</title>
332
<indexterm zone="gnome-vfs-mime-set-description" role="deprecated"><primary>gnome_vfs_mime_set_description</primary></indexterm><programlisting><link linkend="GnomeVFSResult">GnomeVFSResult</link> gnome_vfs_mime_set_description (const <link linkend="char">char</link> *mime_type,
341
333
const <link linkend="char">char</link> *description);</programlisting>
342
334
<warning><para><literal>gnome_vfs_mime_set_description</literal> is deprecated and should not be used in newly-written code. User modifications to the MIME database are no longer supported by gnome-vfs.</para></warning>
358
350
</simpara></listitem></varlistentry>
359
351
</variablelist></refsect2>
361
<title><anchor id="gnome-vfs-mime-set-can-be-executable" role="function" condition="deprecated:"/>gnome_vfs_mime_set_can_be_executable ()</title>
362
<indexterm role="deprecated"><primary>gnome_vfs_mime_set_can_be_executable</primary></indexterm><programlisting><link linkend="GnomeVFSResult">GnomeVFSResult</link> gnome_vfs_mime_set_can_be_executable
352
<refsect2 id="gnome-vfs-mime-set-can-be-executable" role="function" condition="deprecated:">
353
<title>gnome_vfs_mime_set_can_be_executable ()</title>
354
<indexterm zone="gnome-vfs-mime-set-can-be-executable" role="deprecated"><primary>gnome_vfs_mime_set_can_be_executable</primary></indexterm><programlisting><link linkend="GnomeVFSResult">GnomeVFSResult</link> gnome_vfs_mime_set_can_be_executable
363
355
(const <link linkend="char">char</link> *mime_type,
364
356
<link linkend="gboolean">gboolean</link> new_value);</programlisting>
365
357
<warning><para><literal>gnome_vfs_mime_set_can_be_executable</literal> is deprecated and should not be used in newly-written code.</para></warning>
378
370
errors that may have occurred.
379
371
</simpara></listitem></varlistentry>
380
372
</variablelist></refsect2>
382
<title><anchor id="gnome-vfs-mime-set-short-list-applications" role="function" condition="deprecated:User modifications to the MIME database are no longer supported by gnome-vfs."/>gnome_vfs_mime_set_short_list_applications ()</title>
383
<indexterm role="deprecated"><primary>gnome_vfs_mime_set_short_list_applications</primary></indexterm><programlisting><link linkend="GnomeVFSResult">GnomeVFSResult</link> gnome_vfs_mime_set_short_list_applications
373
<refsect2 id="gnome-vfs-mime-set-short-list-applications" role="function" condition="deprecated:User modifications to the MIME database are no longer supported by gnome-vfs.">
374
<title>gnome_vfs_mime_set_short_list_applications ()</title>
375
<indexterm zone="gnome-vfs-mime-set-short-list-applications" role="deprecated"><primary>gnome_vfs_mime_set_short_list_applications</primary></indexterm><programlisting><link linkend="GnomeVFSResult">GnomeVFSResult</link> gnome_vfs_mime_set_short_list_applications
384
376
(const <link linkend="char">char</link> *mime_type,
385
377
<link linkend="GList">GList</link> *application_ids);</programlisting>
386
378
<warning><para><literal>gnome_vfs_mime_set_short_list_applications</literal> is deprecated and should not be used in newly-written code. User modifications to the MIME database are no longer supported by gnome-vfs.</para></warning>
402
394
</simpara></listitem></varlistentry>
403
395
</variablelist></refsect2>
405
<title><anchor id="gnome-vfs-mime-set-short-list-components" role="function" condition="deprecated:User modifications to the MIME database are no longer supported by gnome-vfs."/>gnome_vfs_mime_set_short_list_components ()</title>
406
<indexterm role="deprecated"><primary>gnome_vfs_mime_set_short_list_components</primary></indexterm><programlisting><link linkend="GnomeVFSResult">GnomeVFSResult</link> gnome_vfs_mime_set_short_list_components
396
<refsect2 id="gnome-vfs-mime-set-short-list-components" role="function" condition="deprecated:User modifications to the MIME database are no longer supported by gnome-vfs.">
397
<title>gnome_vfs_mime_set_short_list_components ()</title>
398
<indexterm zone="gnome-vfs-mime-set-short-list-components" role="deprecated"><primary>gnome_vfs_mime_set_short_list_components</primary></indexterm><programlisting><link linkend="GnomeVFSResult">GnomeVFSResult</link> gnome_vfs_mime_set_short_list_components
407
399
(const <link linkend="char">char</link> *mime_type,
408
400
<link linkend="GList">GList</link> *component_iids);</programlisting>
409
401
<warning><para><literal>gnome_vfs_mime_set_short_list_components</literal> is deprecated and should not be used in newly-written code. User modifications to the MIME database are no longer supported by gnome-vfs.</para></warning>
425
417
</simpara></listitem></varlistentry>
426
418
</variablelist></refsect2>
428
<title><anchor id="gnome-vfs-mime-add-application-to-short-list" role="function" condition="deprecated:User modifications to the MIME database are no longer supported by gnome-vfs."/>gnome_vfs_mime_add_application_to_short_list ()</title>
429
<indexterm role="deprecated"><primary>gnome_vfs_mime_add_application_to_short_list</primary></indexterm><programlisting><link linkend="GnomeVFSResult">GnomeVFSResult</link> gnome_vfs_mime_add_application_to_short_list
419
<refsect2 id="gnome-vfs-mime-add-application-to-short-list" role="function" condition="deprecated:User modifications to the MIME database are no longer supported by gnome-vfs.">
420
<title>gnome_vfs_mime_add_application_to_short_list ()</title>
421
<indexterm zone="gnome-vfs-mime-add-application-to-short-list" role="deprecated"><primary>gnome_vfs_mime_add_application_to_short_list</primary></indexterm><programlisting><link linkend="GnomeVFSResult">GnomeVFSResult</link> gnome_vfs_mime_add_application_to_short_list
430
422
(const <link linkend="char">char</link> *mime_type,
431
423
const <link linkend="char">char</link> *application_id);</programlisting>
432
424
<warning><para><literal>gnome_vfs_mime_add_application_to_short_list</literal> is deprecated and should not be used in newly-written code. User modifications to the MIME database are no longer supported by gnome-vfs.</para></warning>
448
440
</simpara></listitem></varlistentry>
449
441
</variablelist></refsect2>
451
<title><anchor id="gnome-vfs-mime-remove-application-from-short-list" role="function" condition="deprecated:User modifications to the MIME database are no longer supported by gnome-vfs."/>gnome_vfs_mime_remove_application_from_short_list ()</title>
452
<indexterm role="deprecated"><primary>gnome_vfs_mime_remove_application_from_short_list</primary></indexterm><programlisting><link linkend="GnomeVFSResult">GnomeVFSResult</link> gnome_vfs_mime_remove_application_from_short_list
442
<refsect2 id="gnome-vfs-mime-remove-application-from-short-list" role="function" condition="deprecated:User modifications to the MIME database are no longer supported by gnome-vfs.">
443
<title>gnome_vfs_mime_remove_application_from_short_list ()</title>
444
<indexterm zone="gnome-vfs-mime-remove-application-from-short-list" role="deprecated"><primary>gnome_vfs_mime_remove_application_from_short_list</primary></indexterm><programlisting><link linkend="GnomeVFSResult">GnomeVFSResult</link> gnome_vfs_mime_remove_application_from_short_list
453
445
(const <link linkend="char">char</link> *mime_type,
454
446
const <link linkend="char">char</link> *application_id);</programlisting>
455
447
<warning><para><literal>gnome_vfs_mime_remove_application_from_short_list</literal> is deprecated and should not be used in newly-written code. User modifications to the MIME database are no longer supported by gnome-vfs.</para></warning>
471
463
</simpara></listitem></varlistentry>
472
464
</variablelist></refsect2>
474
<title><anchor id="gnome-vfs-mime-add-component-to-short-list" role="function" condition="deprecated:User modifications to the MIME database are no longer supported by gnome-vfs."/>gnome_vfs_mime_add_component_to_short_list ()</title>
475
<indexterm role="deprecated"><primary>gnome_vfs_mime_add_component_to_short_list</primary></indexterm><programlisting><link linkend="GnomeVFSResult">GnomeVFSResult</link> gnome_vfs_mime_add_component_to_short_list
465
<refsect2 id="gnome-vfs-mime-add-component-to-short-list" role="function" condition="deprecated:User modifications to the MIME database are no longer supported by gnome-vfs.">
466
<title>gnome_vfs_mime_add_component_to_short_list ()</title>
467
<indexterm zone="gnome-vfs-mime-add-component-to-short-list" role="deprecated"><primary>gnome_vfs_mime_add_component_to_short_list</primary></indexterm><programlisting><link linkend="GnomeVFSResult">GnomeVFSResult</link> gnome_vfs_mime_add_component_to_short_list
476
468
(const <link linkend="char">char</link> *mime_type,
477
469
const <link linkend="char">char</link> *iid);</programlisting>
478
470
<warning><para><literal>gnome_vfs_mime_add_component_to_short_list</literal> is deprecated and should not be used in newly-written code. User modifications to the MIME database are no longer supported by gnome-vfs.</para></warning>
494
486
</simpara></listitem></varlistentry>
495
487
</variablelist></refsect2>
497
<title><anchor id="gnome-vfs-mime-remove-component-from-short-list" role="function" condition="deprecated:User modifications to the MIME database are no longer supported by gnome-vfs."/>gnome_vfs_mime_remove_component_from_short_list ()</title>
498
<indexterm role="deprecated"><primary>gnome_vfs_mime_remove_component_from_short_list</primary></indexterm><programlisting><link linkend="GnomeVFSResult">GnomeVFSResult</link> gnome_vfs_mime_remove_component_from_short_list
488
<refsect2 id="gnome-vfs-mime-remove-component-from-short-list" role="function" condition="deprecated:User modifications to the MIME database are no longer supported by gnome-vfs.">
489
<title>gnome_vfs_mime_remove_component_from_short_list ()</title>
490
<indexterm zone="gnome-vfs-mime-remove-component-from-short-list" role="deprecated"><primary>gnome_vfs_mime_remove_component_from_short_list</primary></indexterm><programlisting><link linkend="GnomeVFSResult">GnomeVFSResult</link> gnome_vfs_mime_remove_component_from_short_list
499
491
(const <link linkend="char">char</link> *mime_type,
500
492
const <link linkend="char">char</link> *iid);</programlisting>
501
493
<warning><para><literal>gnome_vfs_mime_remove_component_from_short_list</literal> is deprecated and should not be used in newly-written code. User modifications to the MIME database are no longer supported by gnome-vfs.</para></warning>
517
509
</simpara></listitem></varlistentry>
518
510
</variablelist></refsect2>
520
<title><anchor id="gnome-vfs-mime-set-default-application" role="function" condition="deprecated:User modifications to the MIME database are no longer supported by gnome-vfs."/>gnome_vfs_mime_set_default_application ()</title>
521
<indexterm role="deprecated"><primary>gnome_vfs_mime_set_default_application</primary></indexterm><programlisting><link linkend="GnomeVFSResult">GnomeVFSResult</link> gnome_vfs_mime_set_default_application
511
<refsect2 id="gnome-vfs-mime-set-default-application" role="function" condition="deprecated:User modifications to the MIME database are no longer supported by gnome-vfs.">
512
<title>gnome_vfs_mime_set_default_application ()</title>
513
<indexterm zone="gnome-vfs-mime-set-default-application" role="deprecated"><primary>gnome_vfs_mime_set_default_application</primary></indexterm><programlisting><link linkend="GnomeVFSResult">GnomeVFSResult</link> gnome_vfs_mime_set_default_application
522
514
(const <link linkend="char">char</link> *mime_type,
523
515
const <link linkend="char">char</link> *application_id);</programlisting>
524
516
<warning><para><literal>gnome_vfs_mime_set_default_application</literal> is deprecated and should not be used in newly-written code. User modifications to the MIME database are no longer supported by gnome-vfs.</para></warning>
540
532
</simpara></listitem></varlistentry>
541
533
</variablelist></refsect2>
543
<title><anchor id="gnome-vfs-mime-set-default-component" role="function" condition="deprecated:User modifications to the MIME database are no longer supported by gnome-vfs."/>gnome_vfs_mime_set_default_component ()</title>
544
<indexterm role="deprecated"><primary>gnome_vfs_mime_set_default_component</primary></indexterm><programlisting><link linkend="GnomeVFSResult">GnomeVFSResult</link> gnome_vfs_mime_set_default_component
534
<refsect2 id="gnome-vfs-mime-set-default-component" role="function" condition="deprecated:User modifications to the MIME database are no longer supported by gnome-vfs.">
535
<title>gnome_vfs_mime_set_default_component ()</title>
536
<indexterm zone="gnome-vfs-mime-set-default-component" role="deprecated"><primary>gnome_vfs_mime_set_default_component</primary></indexterm><programlisting><link linkend="GnomeVFSResult">GnomeVFSResult</link> gnome_vfs_mime_set_default_component
545
537
(const <link linkend="char">char</link> *mime_type,
546
538
const <link linkend="char">char</link> *component_iid);</programlisting>
547
539
<warning><para><literal>gnome_vfs_mime_set_default_component</literal> is deprecated and should not be used in newly-written code. User modifications to the MIME database are no longer supported by gnome-vfs.</para></warning>
562
554
</simpara></listitem></varlistentry>
563
555
</variablelist></refsect2>
565
<title><anchor id="gnome-vfs-mime-add-extension" role="function" condition="deprecated:User modifications to the MIME database are no longer supported by gnome-vfs."/>gnome_vfs_mime_add_extension ()</title>
566
<indexterm role="deprecated"><primary>gnome_vfs_mime_add_extension</primary></indexterm><programlisting><link linkend="GnomeVFSResult">GnomeVFSResult</link> gnome_vfs_mime_add_extension (const <link linkend="char">char</link> *mime_type,
556
<refsect2 id="gnome-vfs-mime-add-extension" role="function" condition="deprecated:User modifications to the MIME database are no longer supported by gnome-vfs.">
557
<title>gnome_vfs_mime_add_extension ()</title>
558
<indexterm zone="gnome-vfs-mime-add-extension" role="deprecated"><primary>gnome_vfs_mime_add_extension</primary></indexterm><programlisting><link linkend="GnomeVFSResult">GnomeVFSResult</link> gnome_vfs_mime_add_extension (const <link linkend="char">char</link> *mime_type,
567
559
const <link linkend="char">char</link> *extension);</programlisting>
568
560
<warning><para><literal>gnome_vfs_mime_add_extension</literal> is deprecated and should not be used in newly-written code. User modifications to the MIME database are no longer supported by gnome-vfs.</para></warning>
583
575
</simpara></listitem></varlistentry>
584
576
</variablelist></refsect2>
586
<title><anchor id="gnome-vfs-mime-remove-extension" role="function" condition="deprecated:User modifications to the MIME database are no longer supported by gnome-vfs."/>gnome_vfs_mime_remove_extension ()</title>
587
<indexterm role="deprecated"><primary>gnome_vfs_mime_remove_extension</primary></indexterm><programlisting><link linkend="GnomeVFSResult">GnomeVFSResult</link> gnome_vfs_mime_remove_extension (const <link linkend="char">char</link> *mime_type,
577
<refsect2 id="gnome-vfs-mime-remove-extension" role="function" condition="deprecated:User modifications to the MIME database are no longer supported by gnome-vfs.">
578
<title>gnome_vfs_mime_remove_extension ()</title>
579
<indexterm zone="gnome-vfs-mime-remove-extension" role="deprecated"><primary>gnome_vfs_mime_remove_extension</primary></indexterm><programlisting><link linkend="GnomeVFSResult">GnomeVFSResult</link> gnome_vfs_mime_remove_extension (const <link linkend="char">char</link> *mime_type,
588
580
const <link linkend="char">char</link> *extension);</programlisting>
589
581
<warning><para><literal>gnome_vfs_mime_remove_extension</literal> is deprecated and should not be used in newly-written code. User modifications to the MIME database are no longer supported by gnome-vfs.</para></warning>
604
596
</simpara></listitem></varlistentry>
605
597
</variablelist></refsect2>
607
<title><anchor id="gnome-vfs-mime-extend-all-applications" role="function" condition="deprecated:User modifications to the MIME database are no longer supported by gnome-vfs."/>gnome_vfs_mime_extend_all_applications ()</title>
608
<indexterm role="deprecated"><primary>gnome_vfs_mime_extend_all_applications</primary></indexterm><programlisting><link linkend="GnomeVFSResult">GnomeVFSResult</link> gnome_vfs_mime_extend_all_applications
598
<refsect2 id="gnome-vfs-mime-extend-all-applications" role="function" condition="deprecated:User modifications to the MIME database are no longer supported by gnome-vfs.">
599
<title>gnome_vfs_mime_extend_all_applications ()</title>
600
<indexterm zone="gnome-vfs-mime-extend-all-applications" role="deprecated"><primary>gnome_vfs_mime_extend_all_applications</primary></indexterm><programlisting><link linkend="GnomeVFSResult">GnomeVFSResult</link> gnome_vfs_mime_extend_all_applications
609
601
(const <link linkend="char">char</link> *mime_type,
610
602
<link linkend="GList">GList</link> *application_ids);</programlisting>
611
603
<warning><para><literal>gnome_vfs_mime_extend_all_applications</literal> is deprecated and should not be used in newly-written code. User modifications to the MIME database are no longer supported by gnome-vfs.</para></warning>
626
618
</simpara></listitem></varlistentry>
627
619
</variablelist></refsect2>
629
<title><anchor id="gnome-vfs-mime-remove-from-all-applications" role="function" condition="deprecated:User modifications to the MIME database are no longer supported by gnome-vfs."/>gnome_vfs_mime_remove_from_all_applications ()</title>
630
<indexterm role="deprecated"><primary>gnome_vfs_mime_remove_from_all_applications</primary></indexterm><programlisting><link linkend="GnomeVFSResult">GnomeVFSResult</link> gnome_vfs_mime_remove_from_all_applications
620
<refsect2 id="gnome-vfs-mime-remove-from-all-applications" role="function" condition="deprecated:User modifications to the MIME database are no longer supported by gnome-vfs.">
621
<title>gnome_vfs_mime_remove_from_all_applications ()</title>
622
<indexterm zone="gnome-vfs-mime-remove-from-all-applications" role="deprecated"><primary>gnome_vfs_mime_remove_from_all_applications</primary></indexterm><programlisting><link linkend="GnomeVFSResult">GnomeVFSResult</link> gnome_vfs_mime_remove_from_all_applications
631
623
(const <link linkend="char">char</link> *mime_type,
632
624
<link linkend="GList">GList</link> *application_ids);</programlisting>
633
625
<warning><para><literal>gnome_vfs_mime_remove_from_all_applications</literal> is deprecated and should not be used in newly-written code. User modifications to the MIME database are no longer supported by gnome-vfs.</para></warning>
648
640
</simpara></listitem></varlistentry>
649
641
</variablelist></refsect2>
651
<title><anchor id="gnome-vfs-mime-application-new-from-id" role="function" condition="deprecated"/>gnome_vfs_mime_application_new_from_id ()</title>
652
<indexterm role="deprecated"><primary>gnome_vfs_mime_application_new_from_id</primary></indexterm><programlisting><link linkend="GnomeVFSMimeApplication">GnomeVFSMimeApplication</link>* gnome_vfs_mime_application_new_from_id
642
<refsect2 id="gnome-vfs-mime-application-new-from-id" role="function" condition="deprecated">
643
<title>gnome_vfs_mime_application_new_from_id ()</title>
644
<indexterm zone="gnome-vfs-mime-application-new-from-id" role="deprecated"><primary>gnome_vfs_mime_application_new_from_id</primary></indexterm><programlisting><link linkend="GnomeVFSMimeApplication">GnomeVFSMimeApplication</link>* gnome_vfs_mime_application_new_from_id
653
645
(const <link linkend="char">char</link> *id);</programlisting>
654
646
<warning><para><literal>gnome_vfs_mime_application_new_from_id</literal> is deprecated and should not be used in newly-written code. Use <link linkend="gnome-vfs-mime-application-new-from-desktop-id"><function>gnome_vfs_mime_application_new_from_desktop_id()</function></link>
655
647
instead.</para></warning>
667
659
</simpara></listitem></varlistentry>
668
660
</variablelist></refsect2>
670
<title><anchor id="gnome-vfs-mime-action-launch" role="function" condition="deprecated|since:2.4"/>gnome_vfs_mime_action_launch ()</title>
671
<indexterm role="deprecated"><primary>gnome_vfs_mime_action_launch</primary></indexterm><indexterm role="2.4"><primary>gnome_vfs_mime_action_launch</primary></indexterm><programlisting><link linkend="GnomeVFSResult">GnomeVFSResult</link> gnome_vfs_mime_action_launch (<link linkend="GnomeVFSMimeAction">GnomeVFSMimeAction</link> *action,
661
<refsect2 id="gnome-vfs-mime-action-launch" role="function" condition="deprecated|since:2.4">
662
<title>gnome_vfs_mime_action_launch ()</title>
663
<indexterm zone="gnome-vfs-mime-action-launch" role="deprecated"><primary>gnome_vfs_mime_action_launch</primary></indexterm><indexterm zone="gnome-vfs-mime-action-launch" role="2.4"><primary>gnome_vfs_mime_action_launch</primary></indexterm><programlisting><link linkend="GnomeVFSResult">GnomeVFSResult</link> gnome_vfs_mime_action_launch (<link linkend="GnomeVFSMimeAction">GnomeVFSMimeAction</link> *action,
672
664
<link linkend="GList">GList</link> *uris);</programlisting>
673
665
<warning><para><literal>gnome_vfs_mime_action_launch</literal> is deprecated and should not be used in newly-written code. MIME actions are deprecated, use
674
666
<link linkend="gnome-vfs-mime-application-launch"><function>gnome_vfs_mime_application_launch()</function></link> instead.</para></warning>
707
699
</variablelist><para role="since">Since 2.4
709
701
</para></refsect2>
711
<title><anchor id="gnome-vfs-mime-action-launch-with-env" role="function" condition="deprecated|since:2.4"/>gnome_vfs_mime_action_launch_with_env ()</title>
712
<indexterm role="deprecated"><primary>gnome_vfs_mime_action_launch_with_env</primary></indexterm><indexterm role="2.4"><primary>gnome_vfs_mime_action_launch_with_env</primary></indexterm><programlisting><link linkend="GnomeVFSResult">GnomeVFSResult</link> gnome_vfs_mime_action_launch_with_env
702
<refsect2 id="gnome-vfs-mime-action-launch-with-env" role="function" condition="deprecated|since:2.4">
703
<title>gnome_vfs_mime_action_launch_with_env ()</title>
704
<indexterm zone="gnome-vfs-mime-action-launch-with-env" role="deprecated"><primary>gnome_vfs_mime_action_launch_with_env</primary></indexterm><indexterm zone="gnome-vfs-mime-action-launch-with-env" role="2.4"><primary>gnome_vfs_mime_action_launch_with_env</primary></indexterm><programlisting><link linkend="GnomeVFSResult">GnomeVFSResult</link> gnome_vfs_mime_action_launch_with_env
713
705
(<link linkend="GnomeVFSMimeAction">GnomeVFSMimeAction</link> *action,
714
706
<link linkend="GList">GList</link> *uris,
715
707
<link linkend="char">char</link> **envp);</programlisting>
737
729
</variablelist><para role="since">Since 2.4
739
731
</para></refsect2>
741
<title><anchor id="gnome-vfs-mime-action-free" role="function" condition="deprecated"/>gnome_vfs_mime_action_free ()</title>
742
<indexterm role="deprecated"><primary>gnome_vfs_mime_action_free</primary></indexterm><programlisting><link linkend="void">void</link> gnome_vfs_mime_action_free (<link linkend="GnomeVFSMimeAction">GnomeVFSMimeAction</link> *action);</programlisting>
732
<refsect2 id="gnome-vfs-mime-action-free" role="function" condition="deprecated">
733
<title>gnome_vfs_mime_action_free ()</title>
734
<indexterm zone="gnome-vfs-mime-action-free" role="deprecated"><primary>gnome_vfs_mime_action_free</primary></indexterm><programlisting><link linkend="void">void</link> gnome_vfs_mime_action_free (<link linkend="GnomeVFSMimeAction">GnomeVFSMimeAction</link> *action);</programlisting>
743
735
<warning><para><literal>gnome_vfs_mime_action_free</literal> is deprecated and should not be used in newly-written code. <link linkend="GnomeVFSMimeAction"><type>GnomeVFSMimeAction</type></link> structures should not be used in new
744
736
code.</para></warning>
751
743
<listitem><simpara> a <link linkend="GnomeVFSMimeAction"><type>GnomeVFSMimeAction</type></link> to be freed.
752
744
</simpara></listitem></varlistentry>
753
745
</variablelist></refsect2>
755
<title><anchor id="gnome-vfs-mime-id-in-application-list" role="function" condition="deprecated:"/>gnome_vfs_mime_id_in_application_list ()</title>
756
<indexterm role="deprecated"><primary>gnome_vfs_mime_id_in_application_list</primary></indexterm><programlisting><link linkend="gboolean">gboolean</link> gnome_vfs_mime_id_in_application_list
746
<refsect2 id="gnome-vfs-mime-id-in-application-list" role="function" condition="deprecated:">
747
<title>gnome_vfs_mime_id_in_application_list ()</title>
748
<indexterm zone="gnome-vfs-mime-id-in-application-list" role="deprecated"><primary>gnome_vfs_mime_id_in_application_list</primary></indexterm><programlisting><link linkend="gboolean">gboolean</link> gnome_vfs_mime_id_in_application_list
757
749
(const <link linkend="char">char</link> *id,
758
750
<link linkend="GList">GList</link> *applications);</programlisting>
759
751
<warning><para><literal>gnome_vfs_mime_id_in_application_list</literal> is deprecated and should not be used in newly-written code. </para></warning>
774
766
</simpara></listitem></varlistentry>
775
767
</variablelist></refsect2>
777
<title><anchor id="gnome-vfs-mime-id-in-component-list" role="function" condition="deprecated:"/>gnome_vfs_mime_id_in_component_list ()</title>
778
<indexterm role="deprecated"><primary>gnome_vfs_mime_id_in_component_list</primary></indexterm><programlisting><link linkend="gboolean">gboolean</link> gnome_vfs_mime_id_in_component_list (const <link linkend="char">char</link> *iid,
768
<refsect2 id="gnome-vfs-mime-id-in-component-list" role="function" condition="deprecated:">
769
<title>gnome_vfs_mime_id_in_component_list ()</title>
770
<indexterm zone="gnome-vfs-mime-id-in-component-list" role="deprecated"><primary>gnome_vfs_mime_id_in_component_list</primary></indexterm><programlisting><link linkend="gboolean">gboolean</link> gnome_vfs_mime_id_in_component_list (const <link linkend="char">char</link> *iid,
779
771
<link linkend="GList">GList</link> *components);</programlisting>
780
772
<warning><para><literal>gnome_vfs_mime_id_in_component_list</literal> is deprecated and should not be used in newly-written code.</para></warning>
793
785
</simpara></listitem></varlistentry>
794
786
</variablelist></refsect2>
796
<title><anchor id="gnome-vfs-mime-remove-application-from-list" role="function" condition="deprecated:User modifications to the MIME database are no longer supported by gnome-vfs."/>gnome_vfs_mime_remove_application_from_list ()</title>
797
<indexterm role="deprecated"><primary>gnome_vfs_mime_remove_application_from_list</primary></indexterm><programlisting><link linkend="GList">GList</link>* gnome_vfs_mime_remove_application_from_list
787
<refsect2 id="gnome-vfs-mime-remove-application-from-list" role="function" condition="deprecated:User modifications to the MIME database are no longer supported by gnome-vfs.">
788
<title>gnome_vfs_mime_remove_application_from_list ()</title>
789
<indexterm zone="gnome-vfs-mime-remove-application-from-list" role="deprecated"><primary>gnome_vfs_mime_remove_application_from_list</primary></indexterm><programlisting><link linkend="GList">GList</link>* gnome_vfs_mime_remove_application_from_list
798
790
(<link linkend="GList">GList</link> *applications,
799
791
const <link linkend="char">char</link> *application_id,
800
792
<link linkend="gboolean">gboolean</link> *did_remove);</programlisting>
821
813
</simpara></listitem></varlistentry>
822
814
</variablelist></refsect2>
824
<title><anchor id="gnome-vfs-mime-remove-component-from-list" role="function" condition="deprecated:"/>gnome_vfs_mime_remove_component_from_list ()</title>
825
<indexterm role="deprecated"><primary>gnome_vfs_mime_remove_component_from_list</primary></indexterm><programlisting><link linkend="GList">GList</link>* gnome_vfs_mime_remove_component_from_list
815
<refsect2 id="gnome-vfs-mime-remove-component-from-list" role="function" condition="deprecated:">
816
<title>gnome_vfs_mime_remove_component_from_list ()</title>
817
<indexterm zone="gnome-vfs-mime-remove-component-from-list" role="deprecated"><primary>gnome_vfs_mime_remove_component_from_list</primary></indexterm><programlisting><link linkend="GList">GList</link>* gnome_vfs_mime_remove_component_from_list
826
818
(<link linkend="GList">GList</link> *components,
827
819
const <link linkend="char">char</link> *iid,
828
820
<link linkend="gboolean">gboolean</link> *did_remove);</programlisting>
845
837
</simpara></listitem></varlistentry>
846
838
</variablelist></refsect2>
848
<title><anchor id="gnome-vfs-mime-id-list-from-component-list" role="function" condition="deprecated:"/>gnome_vfs_mime_id_list_from_component_list ()</title>
849
<indexterm role="deprecated"><primary>gnome_vfs_mime_id_list_from_component_list</primary></indexterm><programlisting><link linkend="GList">GList</link>* gnome_vfs_mime_id_list_from_component_list
839
<refsect2 id="gnome-vfs-mime-id-list-from-component-list" role="function" condition="deprecated:">
840
<title>gnome_vfs_mime_id_list_from_component_list ()</title>
841
<indexterm zone="gnome-vfs-mime-id-list-from-component-list" role="deprecated"><primary>gnome_vfs_mime_id_list_from_component_list</primary></indexterm><programlisting><link linkend="GList">GList</link>* gnome_vfs_mime_id_list_from_component_list
850
842
(<link linkend="GList">GList</link> *components);</programlisting>
851
843
<warning><para><literal>gnome_vfs_mime_id_list_from_component_list</literal> is deprecated and should not be used in newly-written code.</para></warning>
861
853
</simpara></listitem></varlistentry>
862
854
</variablelist></refsect2>
864
<title><anchor id="gnome-vfs-mime-id-list-from-application-list" role="function" condition="deprecated:"/>gnome_vfs_mime_id_list_from_application_list ()</title>
865
<indexterm role="deprecated"><primary>gnome_vfs_mime_id_list_from_application_list</primary></indexterm><programlisting><link linkend="GList">GList</link>* gnome_vfs_mime_id_list_from_application_list
855
<refsect2 id="gnome-vfs-mime-id-list-from-application-list" role="function" condition="deprecated:">
856
<title>gnome_vfs_mime_id_list_from_application_list ()</title>
857
<indexterm zone="gnome-vfs-mime-id-list-from-application-list" role="deprecated"><primary>gnome_vfs_mime_id_list_from_application_list</primary></indexterm><programlisting><link linkend="GList">GList</link>* gnome_vfs_mime_id_list_from_application_list
866
858
(<link linkend="GList">GList</link> *applications);</programlisting>
867
859
<warning><para><literal>gnome_vfs_mime_id_list_from_application_list</literal> is deprecated and should not be used in newly-written code. </para></warning>
881
873
</simpara></listitem></varlistentry>
882
874
</variablelist></refsect2>
884
<title><anchor id="gnome-vfs-mime-freeze" role="function"/>gnome_vfs_mime_freeze ()</title>
885
<indexterm><primary>gnome_vfs_mime_freeze</primary></indexterm><programlisting><link linkend="void">void</link> gnome_vfs_mime_freeze (void);</programlisting>
875
<refsect2 id="gnome-vfs-mime-freeze" role="function">
876
<title>gnome_vfs_mime_freeze ()</title>
877
<indexterm zone="gnome-vfs-mime-freeze"><primary>gnome_vfs_mime_freeze</primary></indexterm><programlisting><link linkend="void">void</link> gnome_vfs_mime_freeze (void);</programlisting>
887
879
Freezes the mime data so that you can do multiple
888
880
updates to the data in one batch without needing
892
884
</para></refsect2>
894
<title><anchor id="gnome-vfs-mime-thaw" role="function"/>gnome_vfs_mime_thaw ()</title>
895
<indexterm><primary>gnome_vfs_mime_thaw</primary></indexterm><programlisting><link linkend="void">void</link> gnome_vfs_mime_thaw (void);</programlisting>
885
<refsect2 id="gnome-vfs-mime-thaw" role="function">
886
<title>gnome_vfs_mime_thaw ()</title>
887
<indexterm zone="gnome-vfs-mime-thaw"><primary>gnome_vfs_mime_thaw</primary></indexterm><programlisting><link linkend="void">void</link> gnome_vfs_mime_thaw (void);</programlisting>
897
889
UnFreezes the mime data so that you can do multiple
898
890
updates to the data in one batch without needing
902
894
</para></refsect2>
904
<title><anchor id="gnome-vfs-mime-info-reload" role="function"/>gnome_vfs_mime_info_reload ()</title>
905
<indexterm><primary>gnome_vfs_mime_info_reload</primary></indexterm><programlisting><link linkend="void">void</link> gnome_vfs_mime_info_reload (void);</programlisting>
895
<refsect2 id="gnome-vfs-mime-info-reload" role="function">
896
<title>gnome_vfs_mime_info_reload ()</title>
897
<indexterm zone="gnome-vfs-mime-info-reload"><primary>gnome_vfs_mime_info_reload</primary></indexterm><programlisting><link linkend="void">void</link> gnome_vfs_mime_info_reload (void);</programlisting>
907
899
Reload the MIME database from disk and notify any listeners
908
900
holding active <link linkend="GnomeVFSMIMEMonitor"><type>GnomeVFSMIMEMonitor</type></link> objects.</para>
911
903
</para></refsect2>
913
<title><anchor id="gnome-vfs-mime-type-is-known" role="function"/>gnome_vfs_mime_type_is_known ()</title>
914
<indexterm><primary>gnome_vfs_mime_type_is_known</primary></indexterm><programlisting><link linkend="gboolean">gboolean</link> gnome_vfs_mime_type_is_known (const <link linkend="char">char</link> *mime_type);</programlisting>
904
<refsect2 id="gnome-vfs-mime-type-is-known" role="function">
905
<title>gnome_vfs_mime_type_is_known ()</title>
906
<indexterm zone="gnome-vfs-mime-type-is-known"><primary>gnome_vfs_mime_type_is_known</primary></indexterm><programlisting><link linkend="gboolean">gboolean</link> gnome_vfs_mime_type_is_known (const <link linkend="char">char</link> *mime_type);</programlisting>
916
908
This function returns <link linkend="TRUE:CAPS"><literal>TRUE</literal></link> if <parameter>mime_type</parameter> is in the MIME database at all.</para>
923
915
<varlistentry><term><emphasis>Returns</emphasis> :</term><listitem><simpara> <link linkend="TRUE:CAPS"><literal>TRUE</literal></link> if anything is known about <parameter>mime_type</parameter>, otherwise <link linkend="FALSE:CAPS"><literal>FALSE</literal></link>.
924
916
</simpara></listitem></varlistentry>
925
917
</variablelist></refsect2>
927
<title><anchor id="gnome-vfs-mime-get-value" role="function"/>gnome_vfs_mime_get_value ()</title>
928
<indexterm><primary>gnome_vfs_mime_get_value</primary></indexterm><programlisting>const <link linkend="char">char</link>* gnome_vfs_mime_get_value (const <link linkend="char">char</link> *mime_type,
918
<refsect2 id="gnome-vfs-mime-get-value" role="function">
919
<title>gnome_vfs_mime_get_value ()</title>
920
<indexterm zone="gnome-vfs-mime-get-value"><primary>gnome_vfs_mime_get_value</primary></indexterm><programlisting>const <link linkend="char">char</link>* gnome_vfs_mime_get_value (const <link linkend="char">char</link> *mime_type,
929
921
const <link linkend="char">char</link> *key);</programlisting>
931
923
This function retrieves the value associated with <parameter>key</parameter> in
943
935
<varlistentry><term><emphasis>Returns</emphasis> :</term><listitem><simpara> <link linkend="GNOME-VFS-OK:CAPS"><literal>GNOME_VFS_OK</literal></link> if the operation succeeded, otherwise an error code.
944
936
</simpara></listitem></varlistentry>
945
937
</variablelist></refsect2>
947
<title><anchor id="gnome-vfs-mime-set-value" role="function" condition="deprecated:"/>gnome_vfs_mime_set_value ()</title>
948
<indexterm role="deprecated"><primary>gnome_vfs_mime_set_value</primary></indexterm><programlisting><link linkend="GnomeVFSResult">GnomeVFSResult</link> gnome_vfs_mime_set_value (const <link linkend="char">char</link> *mime_type,
938
<refsect2 id="gnome-vfs-mime-set-value" role="function" condition="deprecated:">
939
<title>gnome_vfs_mime_set_value ()</title>
940
<indexterm zone="gnome-vfs-mime-set-value" role="deprecated"><primary>gnome_vfs_mime_set_value</primary></indexterm><programlisting><link linkend="GnomeVFSResult">GnomeVFSResult</link> gnome_vfs_mime_set_value (const <link linkend="char">char</link> *mime_type,
949
941
const <link linkend="char">char</link> *key,
950
942
const <link linkend="char">char</link> *value);</programlisting>
951
943
<warning><para><literal>gnome_vfs_mime_set_value</literal> is deprecated and should not be used in newly-written code.</para></warning>
969
961
<varlistentry><term><emphasis>Returns</emphasis> :</term><listitem><simpara> <link linkend="GNOME-VFS-OK:CAPS"><literal>GNOME_VFS_OK</literal></link> if the operation succeeded, otherwise an error code.
970
962
</simpara></listitem></varlistentry>
971
963
</variablelist></refsect2>
973
<title><anchor id="gnome-vfs-mime-get-key-list" role="function" condition="deprecated:"/>gnome_vfs_mime_get_key_list ()</title>
974
<indexterm role="deprecated"><primary>gnome_vfs_mime_get_key_list</primary></indexterm><programlisting><link linkend="GList">GList</link>* gnome_vfs_mime_get_key_list (const <link linkend="char">char</link> *mime_type);</programlisting>
964
<refsect2 id="gnome-vfs-mime-get-key-list" role="function" condition="deprecated:">
965
<title>gnome_vfs_mime_get_key_list ()</title>
966
<indexterm zone="gnome-vfs-mime-get-key-list" role="deprecated"><primary>gnome_vfs_mime_get_key_list</primary></indexterm><programlisting><link linkend="GList">GList</link>* gnome_vfs_mime_get_key_list (const <link linkend="char">char</link> *mime_type);</programlisting>
975
967
<warning><para><literal>gnome_vfs_mime_get_key_list</literal> is deprecated and should not be used in newly-written code.</para></warning>
985
977
</simpara></listitem></varlistentry>
986
978
</variablelist></refsect2>
988
<title><anchor id="gnome-vfs-mime-keys-list-free" role="function" condition="deprecated:"/>gnome_vfs_mime_keys_list_free ()</title>
989
<indexterm role="deprecated"><primary>gnome_vfs_mime_keys_list_free</primary></indexterm><programlisting><link linkend="void">void</link> gnome_vfs_mime_keys_list_free (<link linkend="GList">GList</link> *mime_type_list);</programlisting>
979
<refsect2 id="gnome-vfs-mime-keys-list-free" role="function" condition="deprecated:">
980
<title>gnome_vfs_mime_keys_list_free ()</title>
981
<indexterm zone="gnome-vfs-mime-keys-list-free" role="deprecated"><primary>gnome_vfs_mime_keys_list_free</primary></indexterm><programlisting><link linkend="void">void</link> gnome_vfs_mime_keys_list_free (<link linkend="GList">GList</link> *mime_type_list);</programlisting>
990
982
<warning><para><literal>gnome_vfs_mime_keys_list_free</literal> is deprecated and should not be used in newly-written code.</para></warning>
998
990
</simpara></listitem></varlistentry>
999
991
</variablelist></refsect2>
1001
<title><anchor id="gnome-vfs-mime-get-extensions-list" role="function"/>gnome_vfs_mime_get_extensions_list ()</title>
1002
<indexterm><primary>gnome_vfs_mime_get_extensions_list</primary></indexterm><programlisting><link linkend="GList">GList</link>* gnome_vfs_mime_get_extensions_list (const <link linkend="char">char</link> *mime_type);</programlisting>
992
<refsect2 id="gnome-vfs-mime-get-extensions-list" role="function">
993
<title>gnome_vfs_mime_get_extensions_list ()</title>
994
<indexterm zone="gnome-vfs-mime-get-extensions-list"><primary>gnome_vfs_mime_get_extensions_list</primary></indexterm><programlisting><link linkend="GList">GList</link>* gnome_vfs_mime_get_extensions_list (const <link linkend="char">char</link> *mime_type);</programlisting>
1004
996
Get the file extensions associated with mime type <parameter>mime_type</parameter>.</para>
1011
1003
<varlistentry><term><emphasis>Returns</emphasis> :</term><listitem><simpara> a <link linkend="GList"><type>GList</type></link> of char *s.
1012
1004
</simpara></listitem></varlistentry>
1013
1005
</variablelist></refsect2>
1015
<title><anchor id="gnome-vfs-mime-extensions-list-free" role="function"/>gnome_vfs_mime_extensions_list_free ()</title>
1016
<indexterm><primary>gnome_vfs_mime_extensions_list_free</primary></indexterm><programlisting><link linkend="void">void</link> gnome_vfs_mime_extensions_list_free (<link linkend="GList">GList</link> *list);</programlisting>
1006
<refsect2 id="gnome-vfs-mime-extensions-list-free" role="function">
1007
<title>gnome_vfs_mime_extensions_list_free ()</title>
1008
<indexterm zone="gnome-vfs-mime-extensions-list-free"><primary>gnome_vfs_mime_extensions_list_free</primary></indexterm><programlisting><link linkend="void">void</link> gnome_vfs_mime_extensions_list_free (<link linkend="GList">GList</link> *list);</programlisting>
1018
1010
Call this function on the list returned by <link linkend="gnome-vfs-mime-get-extensions-list"><function>gnome_vfs_mime_get_extensions_list()</function></link>
1019
1011
to free the <parameter>list</parameter> and all of its elements.</para>
1024
1016
<listitem><simpara> the extensions list.
1025
1017
</simpara></listitem></varlistentry>
1026
1018
</variablelist></refsect2>
1028
<title><anchor id="gnome-vfs-mime-get-extensions-string" role="function" condition="deprecated:"/>gnome_vfs_mime_get_extensions_string ()</title>
1029
<indexterm role="deprecated"><primary>gnome_vfs_mime_get_extensions_string</primary></indexterm><programlisting><link linkend="char">char</link>* gnome_vfs_mime_get_extensions_string
1019
<refsect2 id="gnome-vfs-mime-get-extensions-string" role="function" condition="deprecated:">
1020
<title>gnome_vfs_mime_get_extensions_string ()</title>
1021
<indexterm zone="gnome-vfs-mime-get-extensions-string" role="deprecated"><primary>gnome_vfs_mime_get_extensions_string</primary></indexterm><programlisting><link linkend="char">char</link>* gnome_vfs_mime_get_extensions_string
1030
1022
(const <link linkend="char">char</link> *mime_type);</programlisting>
1031
1023
<warning><para><literal>gnome_vfs_mime_get_extensions_string</literal> is deprecated and should not be used in newly-written code.</para></warning>
1041
1033
</simpara></listitem></varlistentry>
1042
1034
</variablelist></refsect2>
1044
<title><anchor id="gnome-vfs-mime-get-extensions-pretty-string" role="function" condition="deprecated:"/>gnome_vfs_mime_get_extensions_pretty_string ()</title>
1045
<indexterm role="deprecated"><primary>gnome_vfs_mime_get_extensions_pretty_string</primary></indexterm><programlisting><link linkend="char">char</link>* gnome_vfs_mime_get_extensions_pretty_string
1035
<refsect2 id="gnome-vfs-mime-get-extensions-pretty-string" role="function" condition="deprecated:">
1036
<title>gnome_vfs_mime_get_extensions_pretty_string ()</title>
1037
<indexterm zone="gnome-vfs-mime-get-extensions-pretty-string" role="deprecated"><primary>gnome_vfs_mime_get_extensions_pretty_string</primary></indexterm><programlisting><link linkend="char">char</link>* gnome_vfs_mime_get_extensions_pretty_string
1046
1038
(const <link linkend="char">char</link> *mime_type);</programlisting>
1047
1039
<warning><para><literal>gnome_vfs_mime_get_extensions_pretty_string</literal> is deprecated and should not be used in newly-written code.</para></warning>
1057
1049
</simpara></listitem></varlistentry>
1058
1050
</variablelist></refsect2>
1060
<title><anchor id="gnome-vfs-get-registered-mime-types" role="function" condition="deprecated:"/>gnome_vfs_get_registered_mime_types ()</title>
1061
<indexterm role="deprecated"><primary>gnome_vfs_get_registered_mime_types</primary></indexterm><programlisting><link linkend="GList">GList</link>* gnome_vfs_get_registered_mime_types (void);</programlisting>
1051
<refsect2 id="gnome-vfs-get-registered-mime-types" role="function" condition="deprecated:">
1052
<title>gnome_vfs_get_registered_mime_types ()</title>
1053
<indexterm zone="gnome-vfs-get-registered-mime-types" role="deprecated"><primary>gnome_vfs_get_registered_mime_types</primary></indexterm><programlisting><link linkend="GList">GList</link>* gnome_vfs_get_registered_mime_types (void);</programlisting>
1062
1054
<warning><para><literal>gnome_vfs_get_registered_mime_types</literal> is deprecated and should not be used in newly-written code.</para></warning>
1069
1061
</simpara></listitem></varlistentry>
1070
1062
</variablelist></refsect2>
1072
<title><anchor id="gnome-vfs-mime-registered-mime-type-list-free" role="function" condition="deprecated:"/>gnome_vfs_mime_registered_mime_type_list_free ()</title>
1073
<indexterm role="deprecated"><primary>gnome_vfs_mime_registered_mime_type_list_free</primary></indexterm><programlisting><link linkend="void">void</link> gnome_vfs_mime_registered_mime_type_list_free
1063
<refsect2 id="gnome-vfs-mime-registered-mime-type-list-free" role="function" condition="deprecated:">
1064
<title>gnome_vfs_mime_registered_mime_type_list_free ()</title>
1065
<indexterm zone="gnome-vfs-mime-registered-mime-type-list-free" role="deprecated"><primary>gnome_vfs_mime_registered_mime_type_list_free</primary></indexterm><programlisting><link linkend="void">void</link> gnome_vfs_mime_registered_mime_type_list_free
1074
1066
(<link linkend="GList">GList</link> *list);</programlisting>
1075
1067
<warning><para><literal>gnome_vfs_mime_registered_mime_type_list_free</literal> is deprecated and should not be used in newly-written code.</para></warning>
1083
1075
</simpara></listitem></varlistentry>
1084
1076
</variablelist></refsect2>
1086
<title><anchor id="gnome-vfs-mime-set-registered-type-key" role="function"/>gnome_vfs_mime_set_registered_type_key ()</title>
1087
<indexterm><primary>gnome_vfs_mime_set_registered_type_key</primary></indexterm><programlisting><link linkend="GnomeVFSResult">GnomeVFSResult</link> gnome_vfs_mime_set_registered_type_key
1077
<refsect2 id="gnome-vfs-mime-set-registered-type-key" role="function">
1078
<title>gnome_vfs_mime_set_registered_type_key ()</title>
1079
<indexterm zone="gnome-vfs-mime-set-registered-type-key"><primary>gnome_vfs_mime_set_registered_type_key</primary></indexterm><programlisting><link linkend="GnomeVFSResult">GnomeVFSResult</link> gnome_vfs_mime_set_registered_type_key
1088
1080
(const <link linkend="char">char</link> *mime_type,
1089
1081
const <link linkend="char">char</link> *key,
1090
1082
const <link linkend="char">char</link> *data);</programlisting>
1106
1098
</simpara></listitem></varlistentry>
1107
1099
</variablelist></refsect2>
1109
<title><anchor id="gnome-vfs-mime-set-extensions-list" role="function" condition="deprecated:"/>gnome_vfs_mime_set_extensions_list ()</title>
1110
<indexterm role="deprecated"><primary>gnome_vfs_mime_set_extensions_list</primary></indexterm><programlisting><link linkend="GnomeVFSResult">GnomeVFSResult</link> gnome_vfs_mime_set_extensions_list (const <link linkend="char">char</link> *mime_type,
1100
<refsect2 id="gnome-vfs-mime-set-extensions-list" role="function" condition="deprecated:">
1101
<title>gnome_vfs_mime_set_extensions_list ()</title>
1102
<indexterm zone="gnome-vfs-mime-set-extensions-list" role="deprecated"><primary>gnome_vfs_mime_set_extensions_list</primary></indexterm><programlisting><link linkend="GnomeVFSResult">GnomeVFSResult</link> gnome_vfs_mime_set_extensions_list (const <link linkend="char">char</link> *mime_type,
1111
1103
const <link linkend="char">char</link> *extensions_list);</programlisting>
1112
1104
<warning><para><literal>gnome_vfs_mime_set_extensions_list</literal> is deprecated and should not be used in newly-written code.</para></warning>
1125
1117
</simpara></listitem></varlistentry>
1126
1118
</variablelist></refsect2>
1128
<title><anchor id="gnome-vfs-mime-registered-mime-type-delete" role="function" condition="deprecated:"/>gnome_vfs_mime_registered_mime_type_delete ()</title>
1129
<indexterm role="deprecated"><primary>gnome_vfs_mime_registered_mime_type_delete</primary></indexterm><programlisting><link linkend="void">void</link> gnome_vfs_mime_registered_mime_type_delete
1119
<refsect2 id="gnome-vfs-mime-registered-mime-type-delete" role="function" condition="deprecated:">
1120
<title>gnome_vfs_mime_registered_mime_type_delete ()</title>
1121
<indexterm zone="gnome-vfs-mime-registered-mime-type-delete" role="deprecated"><primary>gnome_vfs_mime_registered_mime_type_delete</primary></indexterm><programlisting><link linkend="void">void</link> gnome_vfs_mime_registered_mime_type_delete
1130
1122
(const <link linkend="char">char</link> *mime_type);</programlisting>
1131
1123
<warning><para><literal>gnome_vfs_mime_registered_mime_type_delete</literal> is deprecated and should not be used in newly-written code.</para></warning>
1139
1131
</simpara></listitem></varlistentry>
1140
1132
</variablelist></refsect2>
1142
<title><anchor id="gnome-vfs-mime-reset" role="function" condition="deprecated:"/>gnome_vfs_mime_reset ()</title>
1143
<indexterm role="deprecated"><primary>gnome_vfs_mime_reset</primary></indexterm><programlisting><link linkend="void">void</link> gnome_vfs_mime_reset (void);</programlisting>
1133
<refsect2 id="gnome-vfs-mime-reset" role="function" condition="deprecated:">
1134
<title>gnome_vfs_mime_reset ()</title>
1135
<indexterm zone="gnome-vfs-mime-reset" role="deprecated"><primary>gnome_vfs_mime_reset</primary></indexterm><programlisting><link linkend="void">void</link> gnome_vfs_mime_reset (void);</programlisting>
1144
1136
<warning><para><literal>gnome_vfs_mime_reset</literal> is deprecated and should not be used in newly-written code.</para></warning>