~ubuntu-branches/ubuntu/intrepid/glib2.0/intrepid-updates

« back to all changes in this revision

Viewing changes to docs/reference/glib/html/glib-Pointer-Arrays.html

  • Committer: Bazaar Package Importer
  • Author(s): Loic Minier
  • Date: 2008-09-03 00:51:29 UTC
  • mfrom: (1.2.47 upstream)
  • Revision ID: james.westby@ubuntu.com-20080903005129-cuvzg72uin744gd6
Tags: 2.18.0-1
* New upstream stable release, with API addition.
  - Update symbols file for new g_object_get_type() symbol and drop
    g_slice_debug_tree_statistics() which shouldn't have been exported in
    the first place.
  - Refresh patches 01_gettext-desktopfiles,
    02_usr_share_gnome_applications, and 03_blacklist-directories to apply
    cleanly.

Show diffs side-by-side

added added

removed removed

Lines of Context:
123
123
To free a pointer array, use <a class="link" href="glib-Pointer-Arrays.html#g-ptr-array-free" title="g_ptr_array_free ()"><code class="function">g_ptr_array_free()</code></a>.
124
124
</p>
125
125
<div class="example">
126
 
<a name="id3209657"></a><p class="title"><b>Example 21. Using a <span class="structname">GPtrArray</span></b></p>
 
126
<a name="id3324998"></a><p class="title"><b>Example 21. Using a <span class="structname">GPtrArray</span></b></p>
127
127
<div class="example-contents"><pre class="programlisting">
128
128
  GPtrArray *gparray;
129
129
  gchar *string1 = "one", *string2 = "two", *string3 = "three";