summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCorey Berla <corey@berla.me>2022-08-18 10:22:38 -0700
committerAntónio Fernandes <antoniof@gnome.org>2022-09-01 21:42:41 +0000
commit0a9f185593350fb73ec07bd0f0e09cdb81398432 (patch)
tree9787bbc26fde1162645c479787cebf1acd71a082
parent381276be4a0be9b57dbb1255537ea636444dc884 (diff)
downloadnautilus-0a9f185593350fb73ec07bd0f0e09cdb81398432.tar.gz
dnd: Expose NAUTILUS_DRAG_SURFACE_ICON_SIZE
-rw-r--r--src/nautilus-dnd.c1
-rw-r--r--src/nautilus-dnd.h1
2 files changed, 1 insertions, 1 deletions
diff --git a/src/nautilus-dnd.c b/src/nautilus-dnd.c
index 5d16e4c77..5f03f6178 100644
--- a/src/nautilus-dnd.c
+++ b/src/nautilus-dnd.c
@@ -223,7 +223,6 @@ nautilus_dnd_get_preferred_action (NautilusFile *target_file,
}
#define MAX_DRAWN_DRAG_ICONS 10
-#define NAUTILUS_DRAG_SURFACE_ICON_SIZE 64
GdkPaintable *
get_paintable_for_drag_selection (GList *selection,
diff --git a/src/nautilus-dnd.h b/src/nautilus-dnd.h
index 2c5c924c7..a1b28d12c 100644
--- a/src/nautilus-dnd.h
+++ b/src/nautilus-dnd.h
@@ -22,6 +22,7 @@
#define NAUTILUS_ICON_DND_ROOTWINDOW_DROP_TYPE "application/x-rootwindow-drop"
#define NAUTILUS_ICON_DND_XDNDDIRECTSAVE_TYPE "XdndDirectSave0" /* XDS Protocol Type */
#define NAUTILUS_ICON_DND_RAW_TYPE "application/octet-stream"
+#define NAUTILUS_DRAG_SURFACE_ICON_SIZE 64
GdkDragAction nautilus_drag_drop_action_ask (GtkWidget *widget,
GdkDragAction possible_actions);