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, write to the
16 * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
17 * Boston, MA 02111-1307, USA.
21 * Modified by the GTK+ Team and others 1997-2000. See the AUTHORS
22 * file for a list of people on the GTK+ Team. See the ChangeLog
23 * files for a list of changes. These files are distributed with
24 * GTK+ at ftp://ftp.gtk.org/pub/gtk/.
29 #include "gdkproperty.h"
32 #include "gdkprivate.h"
33 #include "gdkinternals.h"
34 #include "gdkdisplay-broadway.h"
35 #include "gdkscreen-broadway.h"
36 #include "gdkselection.h"
41 _gdk_broadway_display_manager_atom_intern (GdkDisplayManager *manager,
42 const gchar *atom_name,
43 gboolean only_if_exists)
45 return _GDK_MAKE_ATOM (g_quark_from_string (atom_name));
49 _gdk_broadway_display_manager_atom_intern_static_string (GdkDisplayManager *manager,
50 const gchar *atom_name)
52 return _GDK_MAKE_ATOM (g_quark_from_static_string (atom_name));
55 static G_CONST_RETURN char *
56 get_atom_name (GdkAtom atom)
58 return g_quark_to_string (GPOINTER_TO_UINT(atom));
62 _gdk_broadway_display_manager_get_atom_name (GdkDisplayManager *manager,
65 return g_strdup (get_atom_name (atom));
69 _gdk_broadway_window_get_property (GdkWindow *window,
75 GdkAtom *actual_property_type,
76 gint *actual_format_type,
84 _gdk_broadway_window_change_property (GdkWindow *window,
92 g_return_if_fail (!window || GDK_WINDOW_IS_BROADWAY (window));
96 _gdk_broadway_window_delete_property (GdkWindow *window,
99 g_return_if_fail (!window || GDK_WINDOW_IS_BROADWAY (window));