]> Pileus Git - ~andy/gtk/blob - gdk/wayland/gdkselection-wayland.c
x11: Remove extra variable
[~andy/gtk] / gdk / wayland / gdkselection-wayland.c
1 /*
2  * Copyright © 2010 Intel Corporation
3  *
4  * This library is free software; you can redistribute it and/or
5  * modify it under the terms of the GNU Library General Public
6  * License as published by the Free Software Foundation; either
7  * version 2 of the License, or (at your option) any later version.
8  *
9  * This library is distributed in the hope that it will be useful,
10  * but WITHOUT ANY WARRANTY; without even the implied warranty of
11  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
12  * Library General Public License for more details.
13  *
14  * You should have received a copy of the GNU Library General Public
15  * License along with this library. If not, see <http://www.gnu.org/licenses/>.
16  */
17
18 #include "config.h"
19
20 #include "gdkselection.h"
21 #include "gdkproperty.h"
22 #include "gdkprivate.h"
23
24 #include <string.h>
25
26 GdkWindow *
27 _gdk_wayland_display_get_selection_owner (GdkDisplay *display,
28                                           GdkAtom     selection)
29 {
30   return NULL;
31 }
32
33 gboolean
34 _gdk_wayland_display_set_selection_owner (GdkDisplay *display,
35                                           GdkWindow  *owner,
36                                           GdkAtom     selection,
37                                           guint32     time,
38                                           gboolean    send_event)
39 {
40   return TRUE;
41 }
42
43 void
44 _gdk_wayland_display_send_selection_notify (GdkDisplay *dispay,
45                                             GdkWindow        *requestor,
46                                             GdkAtom          selection,
47                                             GdkAtom          target,
48                                             GdkAtom          property,
49                                             guint32          time)
50 {
51 }
52
53 gint
54 _gdk_wayland_display_get_selection_property (GdkDisplay  *display,
55                                              GdkWindow   *requestor,
56                                              guchar     **data,
57                                              GdkAtom     *ret_type,
58                                              gint        *ret_format)
59 {
60   return 0;
61 }
62
63 void
64 _gdk_wayland_display_convert_selection (GdkDisplay *display,
65                                         GdkWindow  *requestor,
66                                         GdkAtom     selection,
67                                         GdkAtom     target,
68                                         guint32     time)
69 {
70 }
71
72 gint
73 _gdk_wayland_display_text_property_to_utf8_list (GdkDisplay    *display,
74                                                  GdkAtom        encoding,
75                                                  gint           format,
76                                                  const guchar  *text,
77                                                  gint           length,
78                                                  gchar       ***list)
79 {
80   return 0;
81 }
82
83 gchar *
84 _gdk_wayland_display_utf8_to_string_target (GdkDisplay  *display,
85                                             const gchar *str)
86 {
87   return NULL;
88 }