GNOME Bugzilla – Bug 696766
Fix deprecation warnings
Last modified: 2013-05-15 11:14:55 UTC
There are several deprecation warnings when compiling gnome-ontrol-center's Printers panel. These are caused by deprecation of CUPS' PPD API and by deprecation of gtk_scrolled_window_add_with_viewport(). Unfortunately the PPD API does not have full replacement available yet. Following patch hides the warnings by definition of _PPD_DEPRECATED="". I'll watch this problem closely since it affects more packages. The deprecation of gtk_scrolled_window_add_with_viewport() is easily solvable by using gtk_container_add(). Following patches implements these proposals. Marek
Created attachment 240025 [details] [review] don't show CUPS deprecation warnings
Created attachment 240026 [details] [review] replace deprecated function
Review of attachment 240025 [details] [review]: Looks good.
Review of attachment 240026 [details] [review]: Looks good.
Thank you for the reviews. I've committed those patches to 3.8 and master.