diff options
author | Cole Robinson <crobinso@redhat.com> | 2014-03-17 16:06:24 -0400 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2014-04-29 10:46:30 +0200 |
commit | 9068f20dfbc8e24afe467ce568dc30049b520652 (patch) | |
tree | 2fe59e6c73b3560c04ad76d00818ab3dfeff8fee /thunk.c | |
parent | a3f4d63d63a2566928a1aec140989e16d969b684 (diff) | |
download | qemu-9068f20dfbc8e24afe467ce568dc30049b520652.zip qemu-9068f20dfbc8e24afe467ce568dc30049b520652.tar.gz qemu-9068f20dfbc8e24afe467ce568dc30049b520652.tar.bz2 |
gtk: Don't use deprecated gtk_image_menu_item_new_with_mnemonic
In these cases we weren't using an image in the menu item anyways, so
just do as the suggestion says. Should be fine for all qemu supported
gtk versions.
ui/gtk.c: In function ‘gd_create_menu_machine’:
ui/gtk.c:1284:5: error: ‘gtk_image_menu_item_new_with_mnemonic’ is deprecated (declared at /usr/include/gtk-3.0/gtk/deprecated/gtkimagemenuitem.h:76): Use 'gtk_menu_item_new_with_mnemonic' instead [-Werror=deprecated-declarations]
s->reset_item = gtk_image_menu_item_new_with_mnemonic(_("_Reset"));
^
ui/gtk.c:1287:5: error: ‘gtk_image_menu_item_new_with_mnemonic’ is deprecated (declared at /usr/include/gtk-3.0/gtk/deprecated/gtkimagemenuitem.h:76): Use 'gtk_menu_item_new_with_mnemonic' instead [-Werror=deprecated-declarations]
s->powerdown_item = gtk_image_menu_item_new_with_mnemonic(_("Power _Down"));
Signed-off-by: Cole Robinson <crobinso@redhat.com>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'thunk.c')
0 files changed, 0 insertions, 0 deletions