mate-desktop / mate-panel

MATE panel
https://mate-desktop.org
GNU General Public License v2.0
183 stars 115 forks source link

replace deprecated gtk-image-menu-item* #1409

Closed raveit65 closed 9 months ago

raveit65 commented 9 months ago

With last push i removed gtk_image_menu_item_set_always_show_image and runtime warnings are gone.

lukefromdc commented 9 months ago

the GTK_IS_IMAGE_MENU_ITEM macro seems to work fine, and we already use it in mate-desktop. With this in use the runtime warnings are gone and the entire status notfier built with no warnings at all with my usual build defaults.

Looks good to go here

lukefromdc commented 8 months ago

Turns out we lost the Places and System icons in the main menus and had a couple leftover deprecation warnings about gtk_image_menu_item That came from still defining these two menu items with GtkImageMenuItem and was easily fixed:

https://github.com/mate-desktop/mate-panel/pull/1410

raveit65 commented 8 months ago

Opps, i am using the classic panel menu in result i didn't saw that. Thanks.