Bug 81197

Summary: make check warnings
Product: cairo Reporter: Bryce Harrington <bryce>
Component: generalAssignee: Chris Wilson <chris>
Status: RESOLVED FIXED QA Contact: cairo-bugs mailing list <cairo-bugs>
Severity: minor    
Priority: medium CC: arpitj01
Version: unspecified   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:
Attachments: check for deprecated method V1

Description Bryce Harrington 2014-07-10 23:19:59 UTC
Some warnings that cropped up when running 'make check':

pdf2png.c:52:5: warning: ‘g_type_init’ is deprecated (declared at /usr/include/glib-2.0/gobject/gtype.h:667) [-Wdeprecated-declarations]
     g_type_init ();
     ^
  CCLD     pdf2png
  CC       svg2png-svg2png.o
svg2png.c: In function ‘main’:
svg2png.c:47:5: warning: ‘g_type_init’ is deprecated (declared at /usr/include/glib-2.0/gobject/gtype.h:667) [-Wdeprecated-declarations]
     g_type_init ();
     ^
svg2png.c:52:5: warning: ‘rsvg_pixbuf_from_file’ is deprecated (declared at /usr/include/librsvg-2.0/librsvg/rsvg.h:208) [-Wdeprecated-declarations]
     pixbuf = rsvg_pixbuf_from_file (filename, &error);
     ^
  CCLD     svg2png
Comment 1 arpitj01 2015-06-15 10:33:54 UTC
Created attachment 116509 [details] [review]
check for deprecated method V1

Introducing check for using the deprecated method as g_type_init() function got deprecated with newer versions of glib.
Comment 2 Bryce Harrington 2015-07-29 00:13:39 UTC
Thanks, pushed:

To ssh://git.cairographics.org/git/cairo
   576bb3f..0dd5d84  master -> master

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.