diff options
author | Benjamin Otte <otte@redhat.com> | 2017-11-14 03:56:35 +0100 |
---|---|---|
committer | Benjamin Otte <otte@redhat.com> | 2017-11-15 19:07:16 +0100 |
commit | fb94f79094745a0e3fc64d5d56cea1637a8fdb73 (patch) | |
tree | 14c4dd210b12b86d8a482556da113fd073081c3c /gdk/gdkdisplayprivate.h | |
parent | 13ca03efb165dd5e3ca82984bcd845deb1924cab (diff) | |
download | gtk+-fb94f79094745a0e3fc64d5d56cea1637a8fdb73.tar.gz |
selection: Remove #ifdef WAYLAND
Instead, turn the functions into backend API:
gdk_broadway_display_add_selection_targets()
gdk_broadway_display_clear_selection_targets()
Remove the old per-backend functions, too.
Diffstat (limited to 'gdk/gdkdisplayprivate.h')
-rw-r--r-- | gdk/gdkdisplayprivate.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/gdk/gdkdisplayprivate.h b/gdk/gdkdisplayprivate.h index 493f730655..96f2814041 100644 --- a/gdk/gdkdisplayprivate.h +++ b/gdk/gdkdisplayprivate.h @@ -186,6 +186,13 @@ struct _GdkDisplayClass guchar **data, GdkAtom *type, gint *format); + void (*clear_selection_targets)(GdkDisplay *display, + GdkAtom selection); + void (*add_selection_targets) (GdkDisplay *display, + GdkWindow *window, + GdkAtom selection, + GdkAtom *targets, + guint ntargets); void (*convert_selection) (GdkDisplay *display, GdkWindow *requestor, GdkAtom selection, |