Ticket #11138: gtkplug-stub.c

File gtkplug-stub.c, 2.0 KB (added by meista@…, 17 years ago)

gtkplug-stub.c from CVS (missing in the release tarball)

Line 
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#include "gtkalias.h"
31
32GdkNativeWindow
33_gtk_plug_windowing_get_id (GtkPlug *plug)
34{
35  return 0;
36}
37
38void
39_gtk_plug_windowing_realize_toplevel (GtkPlug *plug)
40{
41}
42
43void
44_gtk_plug_windowing_map_toplevel (GtkPlug *plug)
45{
46}
47
48void
49_gtk_plug_windowing_unmap_toplevel (GtkPlug *plug)
50{
51}
52
53void
54_gtk_plug_windowing_set_focus (GtkPlug *plug)
55{
56}
57
58void
59_gtk_plug_windowing_add_grabbed_key (GtkPlug        *plug,
60                                     guint           accelerator_key,
61                                     GdkModifierType accelerator_mods)
62{
63}
64
65void
66_gtk_plug_windowing_remove_grabbed_key (GtkPlug        *plug,
67                                        guint           accelerator_key,
68                                        GdkModifierType accelerator_mods)
69{
70}
71
72void
73_gtk_plug_windowing_focus_to_parent (GtkPlug         *plug,
74                                     GtkDirectionType direction)
75{
76}
77
78GdkFilterReturn
79_gtk_plug_windowing_filter_func (GdkXEvent *gdk_xevent,
80                                 GdkEvent  *event,
81                                 gpointer   data)
82{
83  return GDK_FILTER_CONTINUE;
84}