summaryrefslogtreecommitdiff
path: root/gtk/gtkclipboard.h
diff options
context:
space:
mode:
authorOwen Taylor <otaylor@redhat.com>2002-09-24 23:59:32 +0000
committerOwen Taylor <otaylor@src.gnome.org>2002-09-24 23:59:32 +0000
commit273f99112e907480e9cd776505dd8c69f32773ec (patch)
treeabcd4b00d7a555702d25b01432c9944ffdd64090 /gtk/gtkclipboard.h
parent6a7d4ee3ae1d7c76b5b58cdfb28fdb0f461e7cda (diff)
downloadgtk+-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.h5
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