added new function gimp_display_shell_dnd_init() which connects all DND
2005-01-15 Michael Natterer <mitch@gimp.org> * app/display/gimpdisplayshell-dnd.[ch]: added new function gimp_display_shell_dnd_init() which connects all DND callbacks. Made all DND callbacks static. * app/display/gimpdisplayshell.c (gimp_display_shell_init): call above function instead of connecting all DND callbacks here. Removed lots of now unused #includes.
This commit is contained in:

committed by
Michael Natterer

parent
e5c0d8eb0e
commit
4c7e91011a
@ -20,48 +20,7 @@
|
||||
#define __GIMP_DISPLAY_SHELL_DND_H__
|
||||
|
||||
|
||||
void gimp_display_shell_drop_drawable (GtkWidget *widget,
|
||||
gint x,
|
||||
gint y,
|
||||
GimpViewable *viewable,
|
||||
gpointer data);
|
||||
void gimp_display_shell_drop_vectors (GtkWidget *widget,
|
||||
gint x,
|
||||
gint y,
|
||||
GimpViewable *viewable,
|
||||
gpointer data);
|
||||
void gimp_display_shell_drop_svg (GtkWidget *widget,
|
||||
gint x,
|
||||
gint y,
|
||||
const guchar *svg_data,
|
||||
gsize svg_data_length,
|
||||
gpointer data);
|
||||
void gimp_display_shell_drop_pattern (GtkWidget *widget,
|
||||
gint x,
|
||||
gint y,
|
||||
GimpViewable *viewable,
|
||||
gpointer data);
|
||||
void gimp_display_shell_drop_color (GtkWidget *widget,
|
||||
gint x,
|
||||
gint y,
|
||||
const GimpRGB *color,
|
||||
gpointer data);
|
||||
void gimp_display_shell_drop_buffer (GtkWidget *widget,
|
||||
gint x,
|
||||
gint y,
|
||||
GimpViewable *viewable,
|
||||
gpointer data);
|
||||
void gimp_display_shell_drop_uri_list (GtkWidget *widget,
|
||||
gint x,
|
||||
gint y,
|
||||
GList *uri_list,
|
||||
gpointer data);
|
||||
void gimp_display_shell_drop_component (GtkWidget *widget,
|
||||
gint x,
|
||||
gint y,
|
||||
GimpImage *image,
|
||||
GimpChannelType component,
|
||||
gpointer data);
|
||||
void gimp_display_shell_dnd_init (GimpDisplayShell *shell);
|
||||
|
||||
|
||||
#endif /* __GIMP_DISPLAY_SHELL_DND_H__ */
|
||||
|
Reference in New Issue
Block a user