After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 638024 - Remove deprecated gdk_display_get_pointer, port to the new gtk+ 3.0 gdk device API
Remove deprecated gdk_display_get_pointer, port to the new gtk+ 3.0 gdk devic...
Status: RESOLVED FIXED
Product: gnome-power-manager
Classification: Deprecated
Component: general
SVN TRUNK
Other Linux
: Normal normal
: ---
Assigned To: GNOME Power Manager Maintainer(s)
GNOME Power Manager Maintainer(s)
Depends on:
Blocks:
 
 
Reported: 2010-12-26 02:51 UTC by Craig Keogh
Modified: 2011-01-26 22:40 UTC
See Also:
GNOME target: 3.0
GNOME version: ---



Description Craig Keogh 2010-12-26 02:51:54 UTC
gnome-power-manager git master build fails with:

cc1: warnings being treated as errors
gpm-backlight.c: In function ‘gpm_backlight_dialog_show’:
gpm-backlight.c:246:2: error: implicit declaration of function ‘gdk_display_get_pointer’

gdk_display_get_pointer is deprecated in gtk+ 3.0:
http://git.gnome.org/browse/gtk+/commit/?id=27ce9421d001e60e43b7f6face8552652356564c
Comment 1 Craig Keogh 2010-12-26 03:00:50 UTC
I pushed a commit to remove GDK_DISABLE_DEPRECATED and get things building
again. Owen Taylor style.

http://git.gnome.org/browse/gnome-power-manager/commit/?id=87df025e605ee9c53ebe2bc9872c8d2f1d9af76c