~ubuntu-branches/debian/squeeze/glib2.0/squeeze

« back to all changes in this revision

Viewing changes to docs/reference/glib/xml/option.xml

  • Committer: Bazaar Package Importer
  • Author(s): Sebastian Dröge
  • Date: 2009-10-08 18:34:23 UTC
  • mfrom: (1.7.1 upstream) (75.1.1 sid)
  • Revision ID: james.westby@ubuntu.com-20091008183423-w05jzgycqjo2lh1y
Tags: 2.22.2-2
* debian/patches/90_mimetype-sorting.patch:
  + Fix sorting of mimetypes by weight. Highest weight means most
    important, not the other way around. Patch from upstream GIT.

Show diffs side-by-side

added added

removed removed

Lines of Context:
258
258
</variablelist></refsect2>
259
259
<refsect2 id="G-OPTION-ERROR--CAPS" role="macro">
260
260
<title>G_OPTION_ERROR</title>
261
 
<indexterm zone="G-OPTION-ERROR--CAPS"><primary sortas="OPTION_ERROR">G_OPTION_ERROR</primary></indexterm><programlisting>#define G_OPTION_ERROR (g_option_error_quark ())
262
 
</programlisting>
 
261
<indexterm zone="G-OPTION-ERROR--CAPS"><primary sortas="OPTION_ERROR">G_OPTION_ERROR</primary></indexterm><programlisting>#define             G_OPTION_ERROR</programlisting>
263
262
<para>
264
263
Error domain for option parsing. Errors in this domain will
265
264
be from the <link linkend="GOptionError"><type>GOptionError</type></link> enumeration. See <link linkend="GError"><type>GError</type></link> for information on 
805
804
</variablelist></refsect2>
806
805
<refsect2 id="G-OPTION-REMAINING--CAPS" role="macro" condition="since:2.6">
807
806
<title>G_OPTION_REMAINING</title>
808
 
<indexterm zone="G-OPTION-REMAINING--CAPS" role="2.6"><primary sortas="OPTION_REMAINING">G_OPTION_REMAINING</primary></indexterm><programlisting>#define G_OPTION_REMAINING ""
809
 
</programlisting>
 
807
<indexterm zone="G-OPTION-REMAINING--CAPS" role="2.6"><primary sortas="OPTION_REMAINING">G_OPTION_REMAINING</primary></indexterm><programlisting>#define             G_OPTION_REMAINING</programlisting>
810
808
<para>
811
809
If a long option in the main group has this name, it is not treated as a 
812
810
regular option. Instead it collects all non-option arguments which would