diff options
Diffstat (limited to 'gtk/gtkselection.h')
-rw-r--r-- | gtk/gtkselection.h | 24 |
1 files changed, 15 insertions, 9 deletions
diff --git a/gtk/gtkselection.h b/gtk/gtkselection.h index 3e25d0d193..4e2d12b907 100644 --- a/gtk/gtkselection.h +++ b/gtk/gtkselection.h @@ -54,12 +54,13 @@ typedef struct _GtkTargetEntry GtkTargetEntry; struct _GtkSelectionData { - GdkAtom selection; - GdkAtom target; - GdkAtom type; - gint format; - guchar *data; - gint length; + GdkAtom selection; + GdkAtom target; + GdkAtom type; + gint format; + guchar *data; + gint length; + GdkDisplay *display; }; struct _GtkTargetEntry { @@ -105,9 +106,14 @@ gboolean gtk_target_list_find (GtkTargetList *list, /* Public interface */ -gboolean gtk_selection_owner_set (GtkWidget *widget, - GdkAtom selection, - guint32 time); +gboolean gtk_selection_owner_set (GtkWidget *widget, + GdkAtom selection, + guint32 time); +gboolean gtk_selection_owner_set_for_display (GdkDisplay *display, + GtkWidget *widget, + GdkAtom selection, + guint32 time); + void gtk_selection_add_target (GtkWidget *widget, GdkAtom selection, GdkAtom target, |