diff options
author | Owen Taylor <otaylor@redhat.com> | 2002-09-24 23:59:32 +0000 |
---|---|---|
committer | Owen Taylor <otaylor@src.gnome.org> | 2002-09-24 23:59:32 +0000 |
commit | 273f99112e907480e9cd776505dd8c69f32773ec (patch) | |
tree | abcd4b00d7a555702d25b01432c9944ffdd64090 /gtk/gtkclipboard.h | |
parent | 6a7d4ee3ae1d7c76b5b58cdfb28fdb0f461e7cda (diff) | |
download | gtk+-273f99112e907480e9cd776505dd8c69f32773ec.tar.gz |
Make a GObject (#75970, James Henstridge)
Tue Sep 24 18:18:36 2002 Owen Taylor <otaylor@redhat.com>
* gtk/gtkclipboard.[ch]: Make a GObject (#75970, James
Henstridge)
Diffstat (limited to 'gtk/gtkclipboard.h')
-rw-r--r-- | gtk/gtkclipboard.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gtk/gtkclipboard.h b/gtk/gtkclipboard.h index fa0b01360b..52c3978bf9 100644 --- a/gtk/gtkclipboard.h +++ b/gtk/gtkclipboard.h @@ -28,6 +28,9 @@ extern "C" { #include <gtk/gtkselection.h> +#define GTK_TYPE_CLIPBOARD (gtk_clipboard_get_type ()) +#define GTK_CLIPBOARD(obj) (GTK_CHECK_CAST ((obj), GTK_TYPE_CLIPBOARD, GtkClipboard)) +#define GTK_IS_CLIPBOARD(obj) (GTK_CHECK_TYPE ((obj), GTK_TYPE_CLIPBOARD)) typedef void (* GtkClipboardReceivedFunc) (GtkClipboard *clipboard, GtkSelectionData *selection_data, @@ -47,6 +50,8 @@ typedef void (* GtkClipboardGetFunc) (GtkClipboard *clipboard, typedef void (* GtkClipboardClearFunc) (GtkClipboard *clipboard, gpointer user_data_or_owner); +GType gtk_clipboard_get_type (void); + GtkClipboard *gtk_clipboard_get_for_display (GdkDisplay *display, GdkAtom selection); #ifndef GDK_MULTIHEAD_SAFE |