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 636498 - Port to the new gtk+ 3.0 GtkStyleContext
Port to the new gtk+ 3.0 GtkStyleContext
Status: RESOLVED FIXED
Product: gnome-power-manager
Classification: Deprecated
Component: general
unspecified
Other Linux
: Normal normal
: ---
Assigned To: GNOME Power Manager Maintainer(s)
GNOME Power Manager Maintainer(s)
Depends on:
Blocks: 636497
 
 
Reported: 2010-12-05 06:19 UTC by Craig Keogh
Modified: 2011-01-26 22:40 UTC
See Also:
GNOME target: 3.0
GNOME version: ---



Description Craig Keogh 2010-12-05 06:19:56 UTC
gtk+ 2.91.6+ has changed API. GTK+ branch gtk-style-context has been merged to
master and porting is required to GtkStyleContext. See:
http://git.gnome.org/browse/gtk+/commit/?id=f8a874abb1d1d8925b0f841e95bbef6cdcb21ac4

build failure (from git master):

gsd-media-keys-window.c: In function ‘draw_volume_boxes’:
gsd-media-keys-window.c:414:9: error: implicit declaration of function ‘gtk_widget_get_style’
gsd-media-keys-window.c:414:15: error: assignment makes pointer from integer without a cast
Comment 1 Owen Taylor 2010-12-06 13:53:51 UTC
I pushed a commit to remove GTK_DISABLE_DEPRECATED and get things building again.