1 /* GDK - The GIMP Drawing Kit
2 * Copyright (C) 1995-1997 Peter Mattis, Spencer Kimball and Josh MacDonald
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.
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.
14 * You should have received a copy of the GNU Lesser General Public
15 * License along with this library. If not, see <http://www.gnu.org/licenses/>.
19 * Modified by the GTK+ Team and others 1997-2000. See the AUTHORS
20 * file for a list of people on the GTK+ Team. See the ChangeLog
21 * files for a list of changes. These files are distributed with
22 * GTK+ at ftp://ftp.gtk.org/pub/gtk/.
27 #include "gdkproperty.h"
30 #include "gdkprivate.h"
31 #include "gdkinternals.h"
32 #include "gdkdisplay-broadway.h"
33 #include "gdkscreen-broadway.h"
34 #include "gdkselection.h"
39 _gdk_broadway_display_manager_atom_intern (GdkDisplayManager *manager,
40 const gchar *atom_name,
41 gboolean only_if_exists)
43 return _GDK_MAKE_ATOM (g_quark_from_string (atom_name));
47 _gdk_broadway_display_manager_atom_intern_static_string (GdkDisplayManager *manager,
48 const gchar *atom_name)
50 return _GDK_MAKE_ATOM (g_quark_from_static_string (atom_name));
54 get_atom_name (GdkAtom atom)
56 return g_quark_to_string (GPOINTER_TO_UINT(atom));
60 _gdk_broadway_display_manager_get_atom_name (GdkDisplayManager *manager,
63 return g_strdup (get_atom_name (atom));
67 _gdk_broadway_window_get_property (GdkWindow *window,
73 GdkAtom *actual_property_type,
74 gint *actual_format_type,
82 _gdk_broadway_window_change_property (GdkWindow *window,
90 g_return_if_fail (!window || GDK_WINDOW_IS_BROADWAY (window));
94 _gdk_broadway_window_delete_property (GdkWindow *window,
97 g_return_if_fail (!window || GDK_WINDOW_IS_BROADWAY (window));