Commit e338b458 authored by Philip Chimento's avatar Philip Chimento 🚮

quartz: Implement gtk_clipboard_get_selection

This function is trivial and can be copied from the X11 implementation.

https://bugzilla.gnome.org/show_bug.cgi?id=772281
parent eaf9fc60
......@@ -1239,3 +1239,17 @@ _gtk_clipboard_store_all (void)
list = list->next;
}
}
/**
* gtk_clipboard_get_selection:
* @clipboard:
*
* Since: 3.22
*/
GdkAtom
gtk_clipboard_get_selection (GtkClipboard *clipboard)
{
g_return_val_if_fail (GTK_IS_CLIPBOARD (clipboard), GDK_NONE);
return clipboard->selection;
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment