From c5f0878a45c383983ebf67b6366a1989b0bea878 Mon Sep 17 00:00:00 2001 From: lukefromdc Date: Wed, 6 Mar 2024 13:27:48 -0500 Subject: Use MateImageMenuItem properly switch out the last vestiges of deprecated GtkImageMenuItem --- mate-panel/panel-menu-items.h | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/mate-panel/panel-menu-items.h b/mate-panel/panel-menu-items.h index 1b94a2d8..2e4e4af1 100644 --- a/mate-panel/panel-menu-items.h +++ b/mate-panel/panel-menu-items.h @@ -26,6 +26,7 @@ #include #include "panel-widget.h" +#include #ifdef __cplusplus extern "C" { @@ -43,13 +44,13 @@ typedef struct _PanelPlaceMenuItemClass PanelPlaceMenuItemClass; typedef struct _PanelPlaceMenuItemPrivate PanelPlaceMenuItemPrivate; struct _PanelPlaceMenuItem { - GtkImageMenuItem menuitem; + MateImageMenuItem menuitem; PanelPlaceMenuItemPrivate *priv; }; struct _PanelPlaceMenuItemClass { - GtkImageMenuItemClass menuitem_class; + MateImageMenuItemClass menuitem_class; }; GType panel_place_menu_item_get_type (void) G_GNUC_CONST; @@ -66,13 +67,13 @@ typedef struct _PanelDesktopMenuItemClass PanelDesktopMenuItemClass; typedef struct _PanelDesktopMenuItemPrivate PanelDesktopMenuItemPrivate; struct _PanelDesktopMenuItem{ - GtkImageMenuItem menuitem; + MateImageMenuItem menuitem; PanelDesktopMenuItemPrivate *priv; }; struct _PanelDesktopMenuItemClass { - GtkImageMenuItemClass menuitem_class; + MateImageMenuItemClass menuitem_class; }; GType panel_desktop_menu_item_get_type (void) G_GNUC_CONST; -- cgit v1.2.1