From d0dd5ab222c9cf54386bfa6ba52d3035f1db6997 Mon Sep 17 00:00:00 2001 From: raveit65 Date: Sun, 25 Feb 2024 19:05:35 +0100 Subject: Revert "Main menus: fix missing Places, System icons" - fix crashing panel with --replace option This reverts commit 675f72ff302409dcbfb1991cf56fd09a294039bf. - fixes https://github.com/mate-desktop/mate-panel/issues/1433 --- mate-panel/panel-menu-items.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mate-panel/panel-menu-items.c b/mate-panel/panel-menu-items.c index 14b58701..dcb4c0aa 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, MATE_TYPE_IMAGE_MENU_ITEM) -G_DEFINE_TYPE_WITH_PRIVATE (PanelDesktopMenuItem, panel_desktop_menu_item, MATE_TYPE_IMAGE_MENU_ITEM) +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) static void activate_uri_on_screen(const char* uri, GdkScreen* screen) { -- cgit v1.2.1