From ac8612ca04a798a084630530205ec8bf28a61c07 Mon Sep 17 00:00:00 2001 From: raveit65 Date: Wed, 18 Oct 2023 00:03:07 +0200 Subject: replace deprecated gtk_image_menu_item* --- mate-dictionary/src/gdict-sidebar.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'mate-dictionary/src/gdict-sidebar.c') diff --git a/mate-dictionary/src/gdict-sidebar.c b/mate-dictionary/src/gdict-sidebar.c index 72c56f3f..317f4cbf 100644 --- a/mate-dictionary/src/gdict-sidebar.c +++ b/mate-dictionary/src/gdict-sidebar.c @@ -33,6 +33,8 @@ #include #include +#include + #include "gdict-sidebar.h" typedef struct @@ -409,7 +411,7 @@ gdict_sidebar_add_page (GdictSidebar *sidebar, NULL); /* add the menu item for the page */ - menu_item = gtk_image_menu_item_new_with_label (page_name); + menu_item = mate_image_menu_item_new_with_label (page_name); g_object_set_qdata_full (G_OBJECT (menu_item), sidebar_page_id_quark, g_strdup (page_id), -- cgit v1.2.1