Imported Upstream version 2.4.7

This commit is contained in:
Ari Pollak
2010-08-11 01:25:24 -04:00
parent 478f5ecc84
commit 826f4b0313
398 changed files with 34802 additions and 57532 deletions

View File

@ -41,43 +41,17 @@
<div class="refsynopsisdiv">
<a name="libgimpconfig-gimpconfig-utils.synopsis"></a><h2>Synopsis</h2>
<pre class="synopsis">
<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);
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);
</pre>
</div>
<div class="refsect1" lang="en">
@ -91,17 +65,9 @@ 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"><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>
<pre class="programlisting">GList* gimp_config_diff (GObject *a,
GObject *b,
GParamFlags 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.
@ -118,16 +84,12 @@ compared.</p>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>a</code></em> :</span></p></td>
<td> a <a
href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject"
><span class="type">GObject</span></a>
<td> a <span class="type">GObject</span>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>b</code></em> :</span></p></td>
<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> another <span class="type">GObject</span> object
</td>
</tr>
<tr>
@ -149,17 +111,9 @@ href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject"
<hr>
<div class="refsect2" lang="en">
<a name="gimp-config-sync"></a><h3>gimp_config_sync ()</h3>
<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>
<pre class="programlisting">gboolean gimp_config_sync (GObject *src,
GObject *dest,
GParamFlags 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
@ -180,16 +134,12 @@ synchronized</p>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>src</code></em> :</span></p></td>
<td> a <a
href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject"
><span class="type">GObject</span></a>
<td> a <span class="type">GObject</span>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>dest</code></em> :</span></p></td>
<td> another <a
href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject"
><span class="type">GObject</span></a>
<td> another <span class="type">GObject</span>
</td>
</tr>
<tr>
@ -199,11 +149,7 @@ href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject"
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<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> <code class="literal">TRUE</code> if <em class="parameter"><code>dest</code></em> was modified, <code class="literal">FALSE</code> otherwise
</td>
</tr>
@ -215,14 +161,10 @@ href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#FALSE:CAPS"
<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 (<a
href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject"
>GObject</a> *object);</pre>
<pre class="programlisting">void gimp_config_reset_properties (GObject *object);</pre>
<p>
Resets all writable properties of <em class="parameter"><code>object</code></em> to the default values as
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"
defined in their <span class="type">GParamSpec</span>. Properties marked as "construct-only"
are not touched.
</p>
<p>
@ -234,9 +176,7 @@ 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 <a
href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject"
><span class="type">GObject</span></a>
<td> a <span class="type">GObject</span>
</td>
</tr></tbody>
</table></div>
@ -246,12 +186,8 @@ href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject"
<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 (<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>
<pre class="programlisting">void gimp_config_reset_property (GObject *object,
const gchar *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>
@ -263,9 +199,7 @@ 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 <a
href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject"
><span class="type">GObject</span></a>
<td> a <span class="type">GObject</span>
</td>
</tr>
<tr>
@ -281,17 +215,11 @@ href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject"
<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 (<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>
<pre class="programlisting">void gimp_config_string_append_escaped (GString *string,
const gchar *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 <a
href="/usr/share/gtk-doc/html/glib/glib-String-Utility-Functions.html#g-strescape"
><code class="function">g_strescape()</code></a> since it
algorithm is different from the one used by <code class="function">g_strescape()</code> since it
leaves non-ASCII characters intact and thus preserves UTF-8
strings. Only control characters and quotes are being escaped.</p>
<p>
@ -302,16 +230,12 @@ 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 <a
href="/usr/share/gtk-doc/html/glib/glib-Strings.html#GString"
><span class="type">GString</span></a>
<td> pointer to a <span class="type">GString</span>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>val</code></em> :</span></p></td>
<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> a string to append or <code class="literal">NULL</code>
</td>
</tr>
</tbody>