summaryrefslogtreecommitdiff
path: root/thunar/thunar-shortcuts-view.c
diff options
context:
space:
mode:
Diffstat (limited to 'thunar/thunar-shortcuts-view.c')
-rw-r--r--thunar/thunar-shortcuts-view.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/thunar/thunar-shortcuts-view.c b/thunar/thunar-shortcuts-view.c
index 503573f5..3b530c7c 100644
--- a/thunar/thunar-shortcuts-view.c
+++ b/thunar/thunar-shortcuts-view.c
@@ -40,7 +40,6 @@
#include <thunar/thunar-dnd.h>
#include <thunar/thunar-gio-extensions.h>
#include <thunar/thunar-gtk-extensions.h>
-#include <thunar/thunar-menu-util.h>
#include <thunar/thunar-preferences.h>
#include <thunar/thunar-private.h>
#include <thunar/thunar-shortcuts-icon-renderer.h>
@@ -1256,7 +1255,8 @@ G_GNUC_END_IGNORE_DEPRECATIONS
}
/* add the menu items to the menu */
- thunar_menu_util_add_items_to_menu (menu, items);
+ for (lp = items; lp != NULL; lp = lp->next)
+ thunar_gtk_menu_thunarx_menu_item_new (lp->data, GTK_MENU_SHELL (menu));
/* cleanup */
g_list_free (items);