← Back to team overview

dx-packages team mailing list archive

[Bug 1173219] Re: error building with GTK 3.9: gtk_widget_get_state is deprecated

 

Fix Released in Unity Unity 7.2.0.

** Changed in: unity
       Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of DX
Packages, which is subscribed to unity in Ubuntu.
Matching subscriptions: dx-packages
https://bugs.launchpad.net/bugs/1173219

Title:
  error building with GTK 3.9: gtk_widget_get_state is deprecated

Status in Unity:
  Fix Released
Status in “unity” package in Ubuntu:
  Fix Released

Bug description:
  When I try to build Unity (from trunk) with GTK 3.9 (from git master),
  I get this deprecation error:

  /home/adam/src/unity/services/panel-service.c: In function ‘on_active_menu_move_current’:
  /home/adam/src/unity/services/panel-service.c:1631:15: error: ‘gtk_widget_get_state’ is deprecated (declared at /usr/local/include/gtk-3.0/gtk/gtkwidget.h:624): Use 'gtk_widget_get_state_flags' instead [-Werror=deprecated-declarations]
  cc1: all warnings being treated as errors
  make[2]: *** [services/CMakeFiles/unity-panel-service.dir/panel-service.c.o] Error 1
  make[1]: *** [services/CMakeFiles/unity-panel-service.dir/all] Error 2

To manage notifications about this bug go to:
https://bugs.launchpad.net/unity/+bug/1173219/+subscriptions