summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlukefromdc <[email protected]>2024-03-06 13:27:48 -0500
committerLuke from DC <[email protected]>2024-04-04 03:44:40 +0000
commitc5f0878a45c383983ebf67b6366a1989b0bea878 (patch)
tree53e8274dc83ec346da4cbcf26773c232443c7b56
parent83da4d5e069cb428fd8032f4ab5f2e4642910787 (diff)
downloadmate-panel-c5f0878a45c383983ebf67b6366a1989b0bea878.tar.bz2
mate-panel-c5f0878a45c383983ebf67b6366a1989b0bea878.tar.xz
Use MateImageMenuItem properly
switch out the last vestiges of deprecated GtkImageMenuItem
-rw-r--r--mate-panel/panel-menu-items.h9
1 files 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 <gtk/gtk.h>
#include "panel-widget.h"
+#include <libmate-desktop/mate-image-menu-item.h>
#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;