summaryrefslogtreecommitdiff
path: root/thunar/thunar-dnd.c
diff options
context:
space:
mode:
Diffstat (limited to 'thunar/thunar-dnd.c')
-rw-r--r--thunar/thunar-dnd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/thunar/thunar-dnd.c b/thunar/thunar-dnd.c
index fdb54ef4..92d7276d 100644
--- a/thunar/thunar-dnd.c
+++ b/thunar/thunar-dnd.c
@@ -29,7 +29,6 @@
#include <thunar/thunar-dialogs.h>
#include <thunar/thunar-dnd.h>
#include <thunar/thunar-gtk-extensions.h>
-#include <thunar/thunar-menu-util.h>
#include <thunar/thunar-private.h>
@@ -154,7 +153,8 @@ G_GNUC_END_IGNORE_DEPRECATIONS
if (G_UNLIKELY (items != NULL))
{
/* add menu items for all items */
- 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));
g_list_free (items);
/* append another separator */