diff options
author | Matthias Clasen <mclasen@redhat.com> | 2004-10-22 22:50:32 +0000 |
---|---|---|
committer | Matthias Clasen <matthiasc@src.gnome.org> | 2004-10-22 22:50:32 +0000 |
commit | a811584d01706df3651a93a3b0c2c9f86249ca52 (patch) | |
tree | 224c8567dc2065e9f428f8c307db07963690a92f /gtk/gtkdnd.h | |
parent | 9d0a283f341aaf37a568579715b6c92fa518fd89 (diff) | |
download | gdk-pixbuf-a811584d01706df3651a93a3b0c2c9f86249ca52.tar.gz |
Use the new file DND api.
2004-10-22 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkfilechooserbutton.c (gtk_file_chooser_button_drag_data_received)
(gtk_file_chooser_button_init): Use the new file DND api.
* gtk/gtkdnd.h:
* gtk/gtkdnd.c (gtk_drag_dest_add_uri_targets)
(gtk_drag_source_add_uri_targets):
* gtk/gtkselection.h:
* gtk/gtkselection.c (gtk_target_list_add_uri_targets):
(gtk_selection_data_set_uris):
(gtk_selection_data_get_uris): New functions to allow
handling file DND "without knowing jack shit".
* configure.in: Bump glib requirement to 2.5.4.
* gtk/gtkfilechooserdefault.c (shortcuts_drop_uris): Use
g_uri_list_extract_uris().
Diffstat (limited to 'gtk/gtkdnd.h')
-rw-r--r-- | gtk/gtkdnd.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/gtk/gtkdnd.h b/gtk/gtkdnd.h index 193234029..586980b06 100644 --- a/gtk/gtkdnd.h +++ b/gtk/gtkdnd.h @@ -85,8 +85,9 @@ GdkAtom gtk_drag_dest_find_target (GtkWidget *widget, GtkTargetList* gtk_drag_dest_get_target_list (GtkWidget *widget); void gtk_drag_dest_set_target_list (GtkWidget *widget, GtkTargetList *target_list); -void gtk_drag_dest_add_text_targets (GtkWidget *widget); +void gtk_drag_dest_add_text_targets (GtkWidget *widget); void gtk_drag_dest_add_image_targets (GtkWidget *widget); +void gtk_drag_dest_add_uri_targets (GtkWidget *widget); /* Source side */ @@ -101,8 +102,9 @@ void gtk_drag_source_unset (GtkWidget *widget); GtkTargetList* gtk_drag_source_get_target_list (GtkWidget *widget); void gtk_drag_source_set_target_list (GtkWidget *widget, GtkTargetList *target_list); -void gtk_drag_source_add_text_targets (GtkWidget *widget); +void gtk_drag_source_add_text_targets (GtkWidget *widget); void gtk_drag_source_add_image_targets (GtkWidget *widget); +void gtk_drag_source_add_uri_targets (GtkWidget *widget); void gtk_drag_source_set_icon (GtkWidget *widget, GdkColormap *colormap, |