summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorraveit65 <[email protected]>2024-02-25 19:05:35 +0100
committerraveit65 <[email protected]>2024-02-29 11:14:37 +0100
commitd0dd5ab222c9cf54386bfa6ba52d3035f1db6997 (patch)
tree5de6db25a4c2ae6ddbffbd33b473f788eef3b777
parent83da4d5e069cb428fd8032f4ab5f2e4642910787 (diff)
downloadmate-panel-d0dd5ab222c9cf54386bfa6ba52d3035f1db6997.tar.bz2
mate-panel-d0dd5ab222c9cf54386bfa6ba52d3035f1db6997.tar.xz
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
-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 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)
{