diff options
author | Richard Hult <richard@imendio.com> | 2008-08-15 20:20:46 +0000 |
---|---|---|
committer | Richard Hult <rhult@src.gnome.org> | 2008-08-15 20:20:46 +0000 |
commit | 6a1ff1bc222237531b4230cd4d8b6007c71668aa (patch) | |
tree | 58bd2ad5f4da67a9a343ff49692b95713ba62600 /gtk/gtkclipboard-quartz.c | |
parent | a7f6e2c8fbb18f8bb8cfdba5c013d04738219246 (diff) | |
download | gtk+-6a1ff1bc222237531b4230cd4d8b6007c71668aa.tar.gz |
Add another missing symbol.
2008-08-15 Richard Hult <richard@imendio.com>
* gtk/gtkclipboard-quartz.c (gtk_clipboard_wait_is_uris_available):
Add another missing symbol.
svn path=/trunk/; revision=21135
Diffstat (limited to 'gtk/gtkclipboard-quartz.c')
-rw-r--r-- | gtk/gtkclipboard-quartz.c | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/gtk/gtkclipboard-quartz.c b/gtk/gtkclipboard-quartz.c index f51c469260..2a8b7ac282 100644 --- a/gtk/gtkclipboard-quartz.c +++ b/gtk/gtkclipboard-quartz.c @@ -1099,6 +1099,23 @@ gtk_clipboard_wait_is_image_available (GtkClipboard *clipboard) return result; } +gboolean +gtk_clipboard_wait_is_uris_available (GtkClipboard *clipboard) +{ + GtkSelectionData *data; + gboolean result = FALSE; + + data = gtk_clipboard_wait_for_contents (clipboard, + gdk_atom_intern_static_string ("TARGETS")); + if (data) + { + result = gtk_selection_data_targets_include_uri (data); + gtk_selection_data_free (data); + } + + return result; +} + /** * gtk_clipboard_wait_for_targets * @clipboard: a #GtkClipboard |