GNOME Bugzilla – Bug 314092
Add gtk_selection_data_targets_include_uri_list
Last modified: 2011-02-04 16:10:23 UTC
When the GtkClipboardReceivedFunc () callback is called it is easy to see if the request is for text or images through gtk_selection_data_targets_include_text () and gtk_selection_data_targets_include_image () but to see if the request is for an text/uri-list one has to transform the GtkSelectionData target_data to a GdkAtom array list, create a gdk_atom for text/uri-list and iterate through the array by hand. Since there is already a gtk_target_list_add_uri_targets () it would be a nice abstraction if there was a counterpart gtk_selection_data_targets_include_uri_list () function so one doesn't have to know how a uri or file list is represented on the platform clipboard.
2005-08-30 Matthias Clasen <mclasen@redhat.com> * gtk/gtk.symbols: * gtk/gtkselection.h: * gtk/gtkselection.c (gtk_selection_data_targets_include_uri): Add a function to check wether targets include uri. (#314092, Mark Wielaard)