summaryrefslogtreecommitdiff
path: root/mate-dictionary/src/gdict-sidebar.c
diff options
context:
space:
mode:
authorraveit65 <[email protected]>2023-10-18 00:03:07 +0200
committerraveit65 <[email protected]>2023-10-22 10:33:20 +0200
commitac8612ca04a798a084630530205ec8bf28a61c07 (patch)
tree96b2471b6c007b12a1b771df98e9f6b73761066f /mate-dictionary/src/gdict-sidebar.c
parentf1d486c32b3221cb8f03dec67b31098528138095 (diff)
downloadmate-utils-ac8612ca04a798a084630530205ec8bf28a61c07.tar.bz2
mate-utils-ac8612ca04a798a084630530205ec8bf28a61c07.tar.xz
replace deprecated gtk_image_menu_item*
Diffstat (limited to 'mate-dictionary/src/gdict-sidebar.c')
-rw-r--r--mate-dictionary/src/gdict-sidebar.c4
1 files changed, 3 insertions, 1 deletions
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 <gdk/gdkkeysyms.h>
#include <glib/gi18n.h>
+#include <libmate-desktop/mate-image-menu-item.h>
+
#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),