Bug 81197 - make check warnings
Summary: make check warnings
Status: RESOLVED FIXED
Alias: None
Product: cairo
Classification: Unclassified
Component: general (show other bugs)
Version: unspecified
Hardware: Other All
: medium minor
Assignee: Chris Wilson
QA Contact: cairo-bugs mailing list
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-07-10 23:19 UTC by Bryce Harrington
Modified: 2015-07-29 00:13 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments
check for deprecated method V1 (366 bytes, patch)
2015-06-15 10:33 UTC, arpitj01
Details | Splinter Review

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.