diff options
author | Benjamin Otte <otte@redhat.com> | 2013-08-20 14:44:14 +0200 |
---|---|---|
committer | Benjamin Otte <otte@redhat.com> | 2013-08-20 16:34:29 +0200 |
commit | aee5bcf9e2dabc1eb21280be2c42a1ac9b5ac39d (patch) | |
tree | f9134279a998123db733cb999ab838ce97f79b1d /gtk/gtkclipboardprivate.h | |
parent | 4009c8241b4edb81e020727afb65822ca95610b9 (diff) | |
download | gtk+-aee5bcf9e2dabc1eb21280be2c42a1ac9b5ac39d.tar.gz |
clipboard: Make a bunch of functions vfuncs
Diffstat (limited to 'gtk/gtkclipboardprivate.h')
-rw-r--r-- | gtk/gtkclipboardprivate.h | 23 |
1 files changed, 21 insertions, 2 deletions
diff --git a/gtk/gtkclipboardprivate.h b/gtk/gtkclipboardprivate.h index 788bf75950..48e1b05997 100644 --- a/gtk/gtkclipboardprivate.h +++ b/gtk/gtkclipboardprivate.h @@ -59,8 +59,27 @@ struct _GtkClipboardClass { GObjectClass parent_class; - void (*owner_change) (GtkClipboard *clipboard, - GdkEventOwnerChange *event); + /* vfuncs */ + gboolean (* set_contents) (GtkClipboard *clipboard, + const GtkTargetEntry *targets, + guint n_targets, + GtkClipboardGetFunc get_func, + GtkClipboardClearFunc clear_func, + gpointer user_data, + gboolean have_owner); + void (* clear) (GtkClipboard *clipboard); + void (* request_contents) (GtkClipboard *clipboard, + GdkAtom target, + GtkClipboardReceivedFunc callback, + gpointer user_data); + void (* set_can_store) (GtkClipboard *clipboard, + const GtkTargetEntry *targets, + gint n_targets); + void (* store) (GtkClipboard *clipboard); + + /* signals */ + void (* owner_change) (GtkClipboard *clipboard, + GdkEventOwnerChange *event); }; #endif /* __GTK_CLIPBOARD_PRIVATE_H__ */ |