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