[nautilus/wip/corey/dnd_features: 3/6] dnd: Expose NAUTILUS_DRAG_SURFACE_ICON_SIZE




commit ce1c214c311163c1053ef6c3386313329359aecb
Author: Corey Berla <corey berla me>
Date:   Thu Aug 18 10:22:38 2022 -0700

    dnd: Expose NAUTILUS_DRAG_SURFACE_ICON_SIZE

 src/nautilus-dnd.c | 1 -
 src/nautilus-dnd.h | 1 +
 2 files changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/nautilus-dnd.c b/src/nautilus-dnd.c
index 6c2522318..7e537517c 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);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]