summaryrefslogtreecommitdiff
path: root/baobab/src/baobab-utils.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 /baobab/src/baobab-utils.c
parentf1d486c32b3221cb8f03dec67b31098528138095 (diff)
downloadmate-utils-ac8612ca04a798a084630530205ec8bf28a61c07.tar.bz2
mate-utils-ac8612ca04a798a084630530205ec8bf28a61c07.tar.xz
replace deprecated gtk_image_menu_item*
Diffstat (limited to 'baobab/src/baobab-utils.c')
-rw-r--r--baobab/src/baobab-utils.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/baobab/src/baobab-utils.c b/baobab/src/baobab-utils.c
index d7c03e48..43efd3fb 100644
--- a/baobab/src/baobab-utils.c
+++ b/baobab/src/baobab-utils.c
@@ -33,6 +33,8 @@
#include <glibtop/mountlist.h>
#include <glibtop/fsusage.h>
+#include <libmate-desktop/mate-image-menu-item.h>
+
#include "baobab.h"
#include "baobab-treeview.h"
#include "baobab-utils.h"
@@ -323,9 +325,9 @@ add_popupmenu_item (GtkMenu *pmenu, const gchar *label, const gchar *icon_name,
GtkWidget *item;
GtkWidget *image;
- item = gtk_image_menu_item_new_with_mnemonic (label);
+ item = mate_image_menu_item_new_with_mnemonic (label);
image = gtk_image_new_from_icon_name (icon_name, GTK_ICON_SIZE_MENU);
- gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (item), image);
+ mate_image_menu_item_set_image (MATE_IMAGE_MENU_ITEM (item), image);
g_signal_connect (item, "activate", item_cb, NULL);