Use util_clip_triangle() in pan_item_tri_new()
[geeqie.git] / src / dnd.h
index c1589df..1c2a101 100644 (file)
--- a/src/dnd.h
+++ b/src/dnd.h
 #ifndef DND_H
 #define DND_H
 
+#include <gdk-pixbuf/gdk-pixbuf.h>
+#include <gdk/gdk.h>
+#include <glib.h>
+#include <gtk/gtk.h>
+
+#include "main-defines.h"
+
 #define TARGET_APP_COLLECTION_MEMBER_STRING "application/x-" GQ_APPNAME_LC "-collection-member"
 #define TARGET_APP_EXIF_ENTRY_STRING "application/x-" GQ_APPNAME_LC "-exif-entry"
 #define TARGET_APP_KEYWORD_PATH_STRING "application/x-" GQ_APPNAME_LC "-keyword-path"
@@ -42,7 +49,10 @@ extern GtkTargetEntry dnd_file_drop_types[];
 extern gint dnd_file_drop_types_count;
 
 
-/* sets a drag icon to pixbuf, if items is > 1, text is drawn onto icon to indicate value */
+/**
+ * @headerfile dnd_set_drag_icon
+ * sets a drag icon to pixbuf, if items is > 1, text is drawn onto icon to indicate value
+ */
 void dnd_set_drag_icon(GtkWidget *widget, GdkDragContext *context, GdkPixbuf *pixbuf, gint items);
 
 void dnd_set_drag_label(GtkWidget *widget, GdkDragContext *context, const gchar *text);