[gtk+/gdk-backend-quartz: 27/29] Implement selection owner vfuncs for quartz
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/gdk-backend-quartz: 27/29] Implement selection owner vfuncs for quartz
- Date: Wed, 22 Dec 2010 02:33:16 +0000 (UTC)
commit 4a1638e37a9e620c6399a51a351f60ebe27d0dc4
Author: Matthias Clasen <mclasen redhat com>
Date: Fri Dec 17 13:25:04 2010 -0500
Implement selection owner vfuncs for quartz
gdk/quartz/gdkdisplay-quartz.c | 2 ++
gdk/quartz/gdkprivate-quartz.h | 9 +++++++++
gdk/quartz/gdkselection-quartz.c | 14 +++++++-------
3 files changed, 18 insertions(+), 7 deletions(-)
---
diff --git a/gdk/quartz/gdkdisplay-quartz.c b/gdk/quartz/gdkdisplay-quartz.c
index c3edb04..5b003fe 100644
--- a/gdk/quartz/gdkdisplay-quartz.c
+++ b/gdk/quartz/gdkdisplay-quartz.c
@@ -254,4 +254,6 @@ _gdk_display_quartz_class_init (GdkDisplayQuartz *class)
display_class->event_data_free = _gdk_quartz_display_event_data_free;
display_class->create_window_impl = _gdk_quartz_display_create_window_impl;
display_class->get_keymap = _gdk_quartz_display_get_keymap;
+ display_class->get_selection_owner = _gdk_quartz_display_get_selection_owner;
+ display_class->set_selection_owner = _gdk_quartz_display_set_selection_owner;
}
diff --git a/gdk/quartz/gdkprivate-quartz.h b/gdk/quartz/gdkprivate-quartz.h
index 4bda4d0..89bbd75 100644
--- a/gdk/quartz/gdkprivate-quartz.h
+++ b/gdk/quartz/gdkprivate-quartz.h
@@ -276,5 +276,14 @@ void _gdk_quartz_window_change_property (GdkWindow *window,
void _gdk_quartz_window_delete_property (GdkWindow *window,
GdkAtom property);
+gboolean _gdk_quartz_display_set_selection_owner (GdkDisplay *display,
+ GdkWindow *owner,
+ GdkAtom selection,
+ guint32 time,
+ gboolean send_event);
+GdkWindow * _gdk_quartz_display_get_selection_owner (GdkDisplay *display,
+ GdkAtom selection);
+
+
#endif /* __GDK_PRIVATE_QUARTZ_H__ */
diff --git a/gdk/quartz/gdkselection-quartz.c b/gdk/quartz/gdkselection-quartz.c
index c327eb9..946a2c2 100644
--- a/gdk/quartz/gdkselection-quartz.c
+++ b/gdk/quartz/gdkselection-quartz.c
@@ -26,19 +26,19 @@
#include "gdkproperty.h"
gboolean
-gdk_selection_owner_set_for_display (GdkDisplay *display,
- GdkWindow *owner,
- GdkAtom selection,
- guint32 time,
- gint send_event)
+_gdk_quartz_display_set_selection_owner_set (GdkDisplay *display,
+ GdkWindow *owner,
+ GdkAtom selection,
+ guint32 time,
+ gint send_event)
{
/* FIXME: Implement */
return TRUE;
}
GdkWindow*
-gdk_selection_owner_get_for_display (GdkDisplay *display,
- GdkAtom selection)
+_gdk_quartz_display_get_selection_owner (GdkDisplay *display,
+ GdkAtom selection)
{
/* FIXME: Implement */
return NULL;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]