summaryrefslogtreecommitdiffstats
path: root/hw/gpio/zaurus.c
diff options
context:
space:
mode:
authorCole Robinson <crobinso@redhat.com>2014-03-17 16:06:26 -0400
committerGerd Hoffmann <kraxel@redhat.com>2014-04-29 10:46:30 +0200
commit3d914488aee3dc1bf495e461aedf8fb4e5bb2270 (patch)
tree37db484c8be7d612f77fda35c5e67ff026d8b5d8 /hw/gpio/zaurus.c
parent105923e08c724c2a5561673442bca91ddab83b41 (diff)
downloadhqemu-3d914488aee3dc1bf495e461aedf8fb4e5bb2270.zip
hqemu-3d914488aee3dc1bf495e461aedf8fb4e5bb2270.tar.gz
gtk: Remove use of deprecated stock items
Stock items are deprecated. As are ImageMenuItems. Convert everything to text only MenuItems, with the same text content as mentioned in the conversion guide: https://docs.google.com/spreadsheet/pub?key=0AsPAM3pPwxagdGF4THNMMUpjUW5xMXZfdUNzMXhEa2c&output=html gtk2 users lose their menu icons as well, but I don't think that's enough of a problem to warrant keeping around back compat code. Example error: ui/gtk.c:1328:5: error: ‘GtkStock’ is deprecated [-Werror=deprecated-declarations] ui/gtk.c:1335:5: error: ‘gtk_image_menu_item_new_from_stock’ is deprecated (declared at /usr/include/gtk-3.0/gtk/deprecated/gtkimagemenuitem.h:78): Use 'gtk_menu_item_new' instead [-Werror=deprecated-declarations] s->zoom_out_item = gtk_image_menu_item_new_from_stock(GTK_STOCK_ZOOM_OUT, NULL); Signed-off-by: Cole Robinson <crobinso@redhat.com> Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'hw/gpio/zaurus.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud