New glib breaks gtk-doc generated code for scanning

Bug #1103744 reported by dobey
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
gtk-doc (Ubuntu)
Fix Released
High
dobey

Bug Description

When building documentation for a library, gtk-doc generates a program in C for introspection of documentation from the library's code. This generated code includes a call to g_type_init, and with the new version of glib, causes a compilation warning/error due to use of the deprecated symbol.

libsyncdaemon-scan.c: In function ‘main’:
libsyncdaemon-scan.c:114:3: error: ‘g_type_init’ is deprecated (declared at /usr/include/glib-2.0/gobject/gtype.h:669) [-Werror=deprecated-declarations]

Related branches

dobey (dobey)
Changed in gtk-doc (Ubuntu):
importance: Undecided → Critical
importance: Critical → High
status: New → In Progress
assignee: nobody → Rodney Dawes (dobey)
Revision history for this message
Martin Pitt (pitti) wrote :

Thanks for this! Can you please also push this to upstream?

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package gtk-doc - 1.18-2ubuntu2

---------------
gtk-doc (1.18-2ubuntu2) raring; urgency=low

  * debian/patches/01_type_init.patch:
    - Generate code to deal with g_type_init being deprecated. (LP: #1103744)
  * debian/control.in:
    - Update standards version to 3.9.4.
 -- Rodney Dawes <email address hidden> Mon, 28 Jan 2013 08:08:00 +0100

Changed in gtk-doc (Ubuntu):
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.