← Back to team overview

dx-packages team mailing list archive

[Bug 1262626] Re: fails to build with GTK+ 3.10

 

** Changed in: libindicator (Ubuntu)
       Status: In Progress => Fix Released

-- 
You received this bug notification because you are a member of DX
Packages, which is subscribed to libindicator in Ubuntu.
https://bugs.launchpad.net/bugs/1262626

Title:
  fails to build with GTK+ 3.10

Status in “libindicator” package in Ubuntu:
  Fix Released

Bug description:
  libindicator fails to build with GTK+ 3.10:

  ../../../libindicator/indicator-image-helper.c: In function 'refresh_image':
  ../../../libindicator/indicator-image-helper.c:68:3: error: 'gtk_image_set_from_stock' is deprecated (declared at /usr/include/gtk-3.0/gtk/gtkimage.h:151): Use 'gtk_image_set_from_icon_name' instead [-Werror=deprecated-declarations]
     gtk_image_set_from_stock (image, GTK_STOCK_MISSING_IMAGE, GTK_ICON_SIZE_LARGE_TOOLBAR);
     ^
  ../../../libindicator/indicator-image-helper.c:68:3: error: 'GtkStock' is deprecated [-Werror=deprecated-declarations]
  ../../../libindicator/indicator-image-helper.c:118:3: error: 'gtk_image_set_from_stock' is deprecated (declared at /usr/include/gtk-3.0/gtk/gtkimage.h:151): Use 'gtk_image_set_from_icon_name' instead [-Werror=deprecated-declarations]
     gtk_image_set_from_stock (image, GTK_STOCK_MISSING_IMAGE, GTK_ICON_SIZE_LARGE_TOOLBAR);
     ^
  ../../../libindicator/indicator-image-helper.c:118:3: error: 'GtkStock' is deprecated [-Werror=deprecated-declarations]
  cc1: all warnings being treated as errors
  make[5]: *** [libindicator3_la-indicator-image-helper.lo] Error 1

  See https://mail.gnome.org/archives/gtk-devel-
  list/2013-July/msg00000.html - I'll prepare a patch to convert to
  named icons.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libindicator/+bug/1262626/+subscriptions


References