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

« back to all changes in this revision

Viewing changes to docs/reference/gobject/html/gobject-properties.html

  • Committer: Bazaar Package Importer
  • Author(s): Martin Pitt
  • Date: 2009-07-07 08:55:47 UTC
  • mfrom: (1.2.49 upstream)
  • Revision ID: james.westby@ubuntu.com-20090707085547-oma0yur1uaq4zmop
Tags: 2.21.3-0ubuntu1
* New upstream version:
  - GMappedFile is refcounted now
  - Mainloop: It is now possible to set per-thread default contexts,
    with g_main_context_push_thread_default.
  - glib-mkenums supports a @basename@ substitution, in addition
    to @filename@.
  - GIO:
    + Vfs implementations can support storing of per-file metadata.
    + GCancellable can now be subclassed.
    + Unmount and eject methods now optionally allow interaction, via
      variants that take a GMountOperation object.
  - Bugs fixed:
   556706 Inconsistent help arguments -h, -?
   579449 FileChoosers no longer work if an idle handler is active
   579933 mainloop FD_CLOEXEC has a race condition
   579984 alternate GMainContext support
   585937 gio/gsocket.c (glib 2.21.2) does not compile (Windows/mingw)
   586675 Runtime library location
   586797 Add GCancellables to GSocket ops
   586868 g_filename_complete_get_completions doesn't always return...
   587415 g_resolver_lookup_by_name_finish returns a freed list
   587434 regression tests fail, at least on x86_64
   586928 Avoid g++ warning in g_error()
  - Updated translations: Estonian, Hebrew
* Drop 00git_file_attr_stringv.patch, in upstream release now.

Show diffs side-by-side

added added

removed removed

Lines of Context:
191
191
      <code class="function"><a class="link" href="gobject-Generic-values.html#g-value-transform" title="g_value_transform ()">g_value_transform</a></code> will try to transform the input signed char into
192
192
      an unsigned int. Of course, the success of the transformation depends on the availability
193
193
      of the required transform function. In practice, there will almost always be a transformation
194
 
      <sup>[<a name="id416124" href="#ftn.id416124" class="footnote">4</a>]</sup>
 
194
      <sup>[<a name="id542294" href="#ftn.id542294" class="footnote">4</a>]</sup>
195
195
      which matches and conversion will be carried out if needed.
196
196
    </p>
197
197
<p>
211
211
      implementation of Foo did override this method, the code path would jump to
212
212
      <code class="function">foo_set_property</code> after having retrieved from the 
213
213
      <span class="type"><a class="link" href="gobject-GParamSpec.html#GParamSpec" title="GParamSpec">GParamSpec</a></span> the <span class="emphasis"><em>param_id</em></span>
214
 
      <sup>[<a name="id416216" href="#ftn.id416216" class="footnote">5</a>]</sup>
 
214
      <sup>[<a name="id542386" href="#ftn.id542386" class="footnote">5</a>]</sup>
215
215
      which had been stored by
216
216
      <code class="function"><a class="link" href="gobject-The-Base-Object-Type.html#g-object-class-install-property" title="g_object_class_install_property ()">g_object_class_install_property</a></code>.
217
217
    </p>
280
280
</div>
281
281
<div class="footnotes">
282
282
<br><hr width="100" align="left">
283
 
<div class="footnote"><p><sup>[<a name="ftn.id416124" href="#id416124" class="para">4</a>] </sup>Its behaviour might not be what you expect but it is up to you to actually avoid
 
283
<div class="footnote"><p><sup>[<a name="ftn.id542294" href="#id542294" class="para">4</a>] </sup>Its behaviour might not be what you expect but it is up to you to actually avoid
284
284
          relying on these transformations.
285
285
        </p></div>
286
 
<div class="footnote"><p><sup>[<a name="ftn.id416216" href="#id416216" class="para">5</a>] </sup>
 
286
<div class="footnote"><p><sup>[<a name="ftn.id542386" href="#id542386" class="para">5</a>] </sup>
287
287
          It should be noted that the param_id used here need only to uniquely identify each 
288
288
          <span class="type"><a class="link" href="gobject-GParamSpec.html#GParamSpec" title="GParamSpec">GParamSpec</a></span> within the <span class="type">FooClass</span> such that the switch
289
289
          used in the set and get methods actually works. Of course, this locally-unique