summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlukefromdc <[email protected]>2023-10-11 15:37:08 -0400
committerraveit65 <[email protected]>2023-10-12 09:52:08 +0200
commit675f72ff302409dcbfb1991cf56fd09a294039bf (patch)
treee73c8921115657938d45eff16ce5f24d79492df2
parentebb3a795a351ca600eb539ed2bba013a6533d749 (diff)
downloadmate-panel-675f72ff302409dcbfb1991cf56fd09a294039bf.tar.bz2
mate-panel-675f72ff302409dcbfb1991cf56fd09a294039bf.tar.xz
Main menus: fix missing Places, System icons
*After replacing gtk_image_menu_item with mate_image_menu_item *We must also replace GTK_TYPE_IMAGE_MENU_ITEM with MATE_TYPE_IMAGE_MENU_ITEM *This fixes leftover GtkImageMenuItem deprecation warnings and restores missing Places and System icons in main menus
-rw-r--r--mate-panel/panel-menu-items.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/mate-panel/panel-menu-items.c b/mate-panel/panel-menu-items.c
index 2605de9b..05af4969 100644
--- a/mate-panel/panel-menu-items.c
+++ b/mate-panel/panel-menu-items.c
@@ -88,8 +88,8 @@ struct _PanelDesktopMenuItemPrivate {
guint append_lock_logout : 1;
};
-G_DEFINE_TYPE_WITH_PRIVATE (PanelPlaceMenuItem, panel_place_menu_item, GTK_TYPE_IMAGE_MENU_ITEM)
-G_DEFINE_TYPE_WITH_PRIVATE (PanelDesktopMenuItem, panel_desktop_menu_item, GTK_TYPE_IMAGE_MENU_ITEM)
+G_DEFINE_TYPE_WITH_PRIVATE (PanelPlaceMenuItem, panel_place_menu_item, MATE_TYPE_IMAGE_MENU_ITEM)
+G_DEFINE_TYPE_WITH_PRIVATE (PanelDesktopMenuItem, panel_desktop_menu_item, MATE_TYPE_IMAGE_MENU_ITEM)
static void activate_uri_on_screen(const char* uri, GdkScreen* screen)
{