~ubuntu-branches/debian/sid/glibmm2.4/sid

« back to all changes in this revision

Viewing changes to glib/glibmm/wrap.cc

  • Committer: Bazaar Package Importer
  • Author(s): Deng Xiyue
  • Date: 2009-07-20 10:01:53 UTC
  • mfrom: (1.2.36 upstream)
  • Revision ID: james.westby@ubuntu.com-20090720100153-e2e4u4oshubnem3u
* New upstream release.
* Section of libglibmm-2.4-dbg is "debug" now.
* Update debian/copyright to conform to latest DEP 5.
  + Fix incorrect license.
  + Point to versioned license files.
* Update Standard-Version to 3.8.2.  No change required.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
// -*- c++ -*-
2
 
/* $Id: wrap.cc 779 2009-01-19 17:58:50Z murrayc $ */
 
2
/* $Id$ */
3
3
 
4
4
/* wrap.cc
5
5
 *
82
82
//
83
83
void wrap_register(GType type, WrapNewFunction func)
84
84
{
 
85
  //0 is not a valid GType.
 
86
  //It would lead to a critical warning in g_type_set_qdata().
 
87
  //We allow this, failing silently, to make life easier for gstreamermm.
 
88
  if(type == 0)
 
89
    return;
 
90
 
85
91
  const guint idx = wrap_func_table->size();
86
92
  wrap_func_table->push_back(func);
87
93