fails to build with GTK+ 3.10

Bug #1262626 reported by Colin Watson
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
libindicator (Ubuntu)
Fix Released
Undecided
Lars Karlitski

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.

Related branches

Revision history for this message
Matthias Klose (doko) wrote :
Lars Karlitski (larsu)
Changed in libindicator (Ubuntu):
status: New → In Progress
assignee: nobody → Lars Uebernickel (larsu)
Changed in libindicator (Ubuntu):
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.