]> Pileus Git - ~andy/gtk/blob - gtk/gtksocket-stub.c
Merge branch 'master' into toolpalette
[~andy/gtk] / gtk / gtksocket-stub.c
1 /* GTK - The GIMP Toolkit
2  * Copyright (C) 1995-1997 Peter Mattis, Spencer Kimball and Josh MacDonald
3  *
4  * This library is free software; you can redistribute it and/or
5  * modify it under the terms of the GNU Lesser 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  * Lesser General Public License for more details.
13  *
14  * You should have received a copy of the GNU Lesser General Public
15  * License along with this library; if not, write to the Free
16  * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
17  */
18
19 /* Stub implementation of backend-specific GtkPlug functions. */
20
21 /*
22  * Modified by the GTK+ Team and others 1997-2000.  See the AUTHORS
23  * file for a list of people on the GTK+ Team.  See the ChangeLog
24  * files for a list of changes.  These files are distributed with
25  * GTK+ at ftp://ftp.gtk.org/pub/gtk/. 
26  */
27
28 #include "gtksocket.h"
29 #include "gtksocketprivate.h"
30 #include "gtkalias.h"
31
32 GdkNativeWindow
33 _gtk_socket_windowing_get_id (GtkSocket *socket)
34 {
35   return 0;
36 }
37
38 void
39 _gtk_socket_windowing_realize_window (GtkSocket *socket)
40 {
41 }
42
43 void
44 _gtk_socket_windowing_end_embedding_toplevel (GtkSocket *socket)
45 {
46 }
47
48 void
49 _gtk_socket_windowing_size_request (GtkSocket *socket)
50 {
51 }
52
53 void
54 _gtk_socket_windowing_send_key_event (GtkSocket *socket,
55                                       GdkEvent  *gdk_event,
56                                       gboolean   mask_key_presses)
57 {
58 }
59
60 void
61 _gtk_socket_windowing_focus_change (GtkSocket *socket,
62                                     gboolean   focus_in)
63 {
64 }
65
66 void
67 _gtk_socket_windowing_update_active (GtkSocket *socket,
68                                      gboolean   active)
69 {
70 }
71
72 void
73 _gtk_socket_windowing_update_modality (GtkSocket *socket,
74                                        gboolean   modality)
75 {
76 }
77
78 void
79 _gtk_socket_windowing_focus (GtkSocket       *socket,
80                              GtkDirectionType direction)
81 {
82 }
83
84 void
85 _gtk_socket_windowing_send_configure_event (GtkSocket *socket)
86 {
87 }
88
89 void
90 _gtk_socket_windowing_select_plug_window_input (GtkSocket *socket)
91 {
92 }
93
94 void
95 _gtk_socket_windowing_embed_get_info (GtkSocket *socket)
96 {
97 }
98
99 void
100 _gtk_socket_windowing_embed_notify (GtkSocket *socket)
101 {
102 }
103
104 gboolean
105 _gtk_socket_windowing_embed_get_focus_wrapped (void)
106 {
107   return FALSE;
108 }
109
110 void
111 _gtk_socket_windowing_embed_set_focus_wrapped (void)
112 {
113 }
114
115 GdkFilterReturn
116 _gtk_socket_windowing_filter_func (GdkXEvent *gdk_xevent,
117                                    GdkEvent  *event,
118                                    gpointer   data)
119 {
120   return GDK_FILTER_CONTINUE;
121 }