]> Pileus Git - ~andy/gtk/blob - gtk/gtkplug-stub.c
docs: Fix building with latest GDK changes
[~andy/gtk] / gtk / gtkplug-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 "gtkplug.h"
29 #include "gtkplugprivate.h"
30
31 GdkNativeWindow
32 _gtk_plug_windowing_get_id (GtkPlug *plug)
33 {
34   return 0;
35 }
36
37 void
38 _gtk_plug_windowing_realize_toplevel (GtkPlug *plug)
39 {
40 }
41
42 void
43 _gtk_plug_windowing_map_toplevel (GtkPlug *plug)
44 {
45 }
46
47 void
48 _gtk_plug_windowing_unmap_toplevel (GtkPlug *plug)
49 {
50 }
51
52 void
53 _gtk_plug_windowing_set_focus (GtkPlug *plug)
54 {
55 }
56
57 void
58 _gtk_plug_windowing_add_grabbed_key (GtkPlug        *plug,
59                                      guint           accelerator_key,
60                                      GdkModifierType accelerator_mods)
61 {
62 }
63
64 void
65 _gtk_plug_windowing_remove_grabbed_key (GtkPlug        *plug,
66                                         guint           accelerator_key,
67                                         GdkModifierType accelerator_mods)
68 {
69 }
70
71 void
72 _gtk_plug_windowing_focus_to_parent (GtkPlug         *plug,
73                                      GtkDirectionType direction)
74 {
75 }
76
77 GdkFilterReturn
78 _gtk_plug_windowing_filter_func (GdkXEvent *gdk_xevent,
79                                  GdkEvent  *event,
80                                  gpointer   data)
81 {
82   return GDK_FILTER_CONTINUE;
83 }