Imported Upstream version 2.6.1

This commit is contained in:
Ari Pollak
2010-08-11 01:25:55 -04:00
parent 94f5319c14
commit 0e546c590e
355 changed files with 112231 additions and 89475 deletions

View File

@ -42,17 +42,43 @@
<div class="refsynopsisdiv">
<a name="libgimpconfig-gimpconfig-utils.synopsis"></a><h2>Synopsis</h2>
<pre class="synopsis">
GList* <a class="link" href="libgimpconfig-gimpconfig-utils.html#gimp-config-diff" title="gimp_config_diff ()">gimp_config_diff</a> (GObject *a,
GObject *b,
GParamFlags flags);
gboolean <a class="link" href="libgimpconfig-gimpconfig-utils.html#gimp-config-sync" title="gimp_config_sync ()">gimp_config_sync</a> (GObject *src,
GObject *dest,
GParamFlags flags);
void <a class="link" href="libgimpconfig-gimpconfig-utils.html#gimp-config-reset-properties" title="gimp_config_reset_properties ()">gimp_config_reset_properties</a> (GObject *object);
void <a class="link" href="libgimpconfig-gimpconfig-utils.html#gimp-config-reset-property" title="gimp_config_reset_property ()">gimp_config_reset_property</a> (GObject *object,
const gchar *property_name);
void <a class="link" href="libgimpconfig-gimpconfig-utils.html#gimp-config-string-append-escaped" title="gimp_config_string_append_escaped ()">gimp_config_string_append_escaped</a> (GString *string,
const gchar *val);
<a
href="/usr/share/gtk-doc/html/glib/glib-Doubly-Linked-Lists.html#GList"
>GList</a>* <a class="link" href="libgimpconfig-gimpconfig-utils.html#gimp-config-diff" title="gimp_config_diff ()">gimp_config_diff</a> (<a
href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject"
>GObject</a> *a,
<a
href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject"
>GObject</a> *b,
<a
href="/usr/share/gtk-doc/html/gobject/gobject-GParamSpec.html#GParamFlags"
>GParamFlags</a> flags);
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
>gboolean</a> <a class="link" href="libgimpconfig-gimpconfig-utils.html#gimp-config-sync" title="gimp_config_sync ()">gimp_config_sync</a> (<a
href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject"
>GObject</a> *src,
<a
href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject"
>GObject</a> *dest,
<a
href="/usr/share/gtk-doc/html/gobject/gobject-GParamSpec.html#GParamFlags"
>GParamFlags</a> flags);
void <a class="link" href="libgimpconfig-gimpconfig-utils.html#gimp-config-reset-properties" title="gimp_config_reset_properties ()">gimp_config_reset_properties</a> (<a
href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject"
>GObject</a> *object);
void <a class="link" href="libgimpconfig-gimpconfig-utils.html#gimp-config-reset-property" title="gimp_config_reset_property ()">gimp_config_reset_property</a> (<a
href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject"
>GObject</a> *object,
const <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
>gchar</a> *property_name);
void <a class="link" href="libgimpconfig-gimpconfig-utils.html#gimp-config-string-append-escaped" title="gimp_config_string_append_escaped ()">gimp_config_string_append_escaped</a> (<a
href="/usr/share/gtk-doc/html/glib/glib-Strings.html#GString"
>GString</a> *string,
const <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
>gchar</a> *val);
</pre>
</div>
<div class="refsect1" lang="en">
@ -66,9 +92,17 @@ Miscellaneous utility functions for libgimpconfig.
<a name="libgimpconfig-gimpconfig-utils.details"></a><h2>Details</h2>
<div class="refsect2" lang="en">
<a name="gimp-config-diff"></a><h3>gimp_config_diff ()</h3>
<pre class="programlisting">GList* gimp_config_diff (GObject *a,
GObject *b,
GParamFlags flags);</pre>
<pre class="programlisting"><a
href="/usr/share/gtk-doc/html/glib/glib-Doubly-Linked-Lists.html#GList"
>GList</a>* gimp_config_diff (<a
href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject"
>GObject</a> *a,
<a
href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject"
>GObject</a> *b,
<a
href="/usr/share/gtk-doc/html/gobject/gobject-GParamSpec.html#GParamFlags"
>GParamFlags</a> flags);</pre>
<p>
Compares all properties of <em class="parameter"><code>a</code></em> and <em class="parameter"><code>b</code></em> that have all <em class="parameter"><code>flags</code></em> set. If
<em class="parameter"><code>flags</code></em> is 0, all properties are compared.
@ -85,12 +119,16 @@ compared.</p>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>a</code></em> :</span></p></td>
<td> a <span class="type">GObject</span>
<td> a <a
href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject"
><span class="type">GObject</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>b</code></em> :</span></p></td>
<td> another <span class="type">GObject</span> object
<td> another <a
href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject"
><span class="type">GObject</span></a> object
</td>
</tr>
<tr>
@ -112,9 +150,17 @@ compared.</p>
<hr>
<div class="refsect2" lang="en">
<a name="gimp-config-sync"></a><h3>gimp_config_sync ()</h3>
<pre class="programlisting">gboolean gimp_config_sync (GObject *src,
GObject *dest,
GParamFlags flags);</pre>
<pre class="programlisting"><a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
>gboolean</a> gimp_config_sync (<a
href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject"
>GObject</a> *src,
<a
href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject"
>GObject</a> *dest,
<a
href="/usr/share/gtk-doc/html/gobject/gobject-GParamSpec.html#GParamFlags"
>GParamFlags</a> flags);</pre>
<p>
Compares all read- and write-able properties from <em class="parameter"><code>src</code></em> and <em class="parameter"><code>dest</code></em>
that have all <em class="parameter"><code>flags</code></em> set. Differing values are then copied from
@ -135,12 +181,16 @@ synchronized</p>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>src</code></em> :</span></p></td>
<td> a <span class="type">GObject</span>
<td> a <a
href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject"
><span class="type">GObject</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>dest</code></em> :</span></p></td>
<td> another <span class="type">GObject</span>
<td> another <a
href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject"
><span class="type">GObject</span></a>
</td>
</tr>
<tr>
@ -150,7 +200,11 @@ synchronized</p>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> <code class="literal">TRUE</code> if <em class="parameter"><code>dest</code></em> was modified, <code class="literal">FALSE</code> otherwise
<td> <a
href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"
><code class="literal">TRUE</code></a> if <em class="parameter"><code>dest</code></em> was modified, <a
href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#FALSE:CAPS"
><code class="literal">FALSE</code></a> otherwise
</td>
</tr>
@ -162,10 +216,14 @@ synchronized</p>
<hr>
<div class="refsect2" lang="en">
<a name="gimp-config-reset-properties"></a><h3>gimp_config_reset_properties ()</h3>
<pre class="programlisting">void gimp_config_reset_properties (GObject *object);</pre>
<pre class="programlisting">void gimp_config_reset_properties (<a
href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject"
>GObject</a> *object);</pre>
<p>
Resets all writable properties of <em class="parameter"><code>object</code></em> to the default values as
defined in their <span class="type">GParamSpec</span>. Properties marked as "construct-only"
defined in their <a
href="/usr/share/gtk-doc/html/gobject/gobject-GParamSpec.html#GParamSpec"
><span class="type">GParamSpec</span></a>. Properties marked as "construct-only"
are not touched.
</p>
<p>
@ -177,7 +235,9 @@ If you want to reset a <a class="link" href="libgimpconfig-GimpConfig.html#GimpC
<col align="left" valign="top">
<tbody><tr>
<td><p><span class="term"><em class="parameter"><code>object</code></em> :</span></p></td>
<td> a <span class="type">GObject</span>
<td> a <a
href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject"
><span class="type">GObject</span></a>
</td>
</tr></tbody>
</table></div>
@ -187,8 +247,12 @@ If you want to reset a <a class="link" href="libgimpconfig-GimpConfig.html#GimpC
<hr>
<div class="refsect2" lang="en">
<a name="gimp-config-reset-property"></a><h3>gimp_config_reset_property ()</h3>
<pre class="programlisting">void gimp_config_reset_property (GObject *object,
const gchar *property_name);</pre>
<pre class="programlisting">void gimp_config_reset_property (<a
href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject"
>GObject</a> *object,
const <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
>gchar</a> *property_name);</pre>
<p>
Resets the property named <em class="parameter"><code>property_name</code></em> to its default value. The
property must be writable and must not be marked as "construct-only".</p>
@ -200,7 +264,9 @@ property must be writable and must not be marked as "construct-only".</p>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>object</code></em> :</span></p></td>
<td> a <span class="type">GObject</span>
<td> a <a
href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject"
><span class="type">GObject</span></a>
</td>
</tr>
<tr>
@ -216,11 +282,17 @@ property must be writable and must not be marked as "construct-only".</p>
<hr>
<div class="refsect2" lang="en">
<a name="gimp-config-string-append-escaped"></a><h3>gimp_config_string_append_escaped ()</h3>
<pre class="programlisting">void gimp_config_string_append_escaped (GString *string,
const gchar *val);</pre>
<pre class="programlisting">void gimp_config_string_append_escaped (<a
href="/usr/share/gtk-doc/html/glib/glib-Strings.html#GString"
>GString</a> *string,
const <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
>gchar</a> *val);</pre>
<p>
Escapes and quotes <em class="parameter"><code>val</code></em> and appends it to <em class="parameter"><code>string</code></em>. The escape
algorithm is different from the one used by <code class="function">g_strescape()</code> since it
algorithm is different from the one used by <a
href="/usr/share/gtk-doc/html/glib/glib-String-Utility-Functions.html#g-strescape"
><code class="function">g_strescape()</code></a> since it
leaves non-ASCII characters intact and thus preserves UTF-8
strings. Only control characters and quotes are being escaped.</p>
<p>
@ -231,12 +303,16 @@ strings. Only control characters and quotes are being escaped.</p>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>string</code></em> :</span></p></td>
<td> pointer to a <span class="type">GString</span>
<td> pointer to a <a
href="/usr/share/gtk-doc/html/glib/glib-Strings.html#GString"
><span class="type">GString</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>val</code></em> :</span></p></td>
<td> a string to append or <code class="literal">NULL</code>
<td> a string to append or <a
href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"
><code class="literal">NULL</code></a>
</td>
</tr>
</tbody>