diff options
author | John Ralls <jralls@ceridwen.us> | 2013-04-22 15:46:08 -0700 |
---|---|---|
committer | John Ralls <jralls@ceridwen.us> | 2013-04-22 15:48:35 -0700 |
commit | f0f07ad6d8f245dded420f874b6af839b21eb661 (patch) | |
tree | 38eee6116c275e7adb473f39ce90b19ae4e5ff72 /gdk/quartz | |
parent | 179004f0a77088cb39decd6eb3e395fffb3599d0 (diff) | |
download | gtk+-f0f07ad6d8f245dded420f874b6af839b21eb661.tar.gz |
Remove get_atom_name and atom_intern
Completes aa9e974 for quartz
Diffstat (limited to 'gdk/quartz')
-rw-r--r-- | gdk/quartz/gdkdisplaymanager-quartz.c | 3 | ||||
-rw-r--r-- | gdk/quartz/gdkprivate-quartz.h | 8 | ||||
-rw-r--r-- | gdk/quartz/gdkproperty-quartz.c | 20 |
3 files changed, 0 insertions, 31 deletions
diff --git a/gdk/quartz/gdkdisplaymanager-quartz.c b/gdk/quartz/gdkdisplaymanager-quartz.c index f278ab3522..d8ba138d97 100644 --- a/gdk/quartz/gdkdisplaymanager-quartz.c +++ b/gdk/quartz/gdkdisplaymanager-quartz.c @@ -71,7 +71,4 @@ gdk_quartz_display_manager_class_init (GdkQuartzDisplayManagerClass *class) GdkDisplayManagerClass *manager_class = GDK_DISPLAY_MANAGER_CLASS (class); object_class->finalize = gdk_quartz_display_manager_finalize; - - manager_class->atom_intern = _gdk_quartz_display_manager_atom_intern; - manager_class->get_atom_name = _gdk_quartz_display_manager_get_atom_name; } diff --git a/gdk/quartz/gdkprivate-quartz.h b/gdk/quartz/gdkprivate-quartz.h index eed09b9a75..ff857c1b15 100644 --- a/gdk/quartz/gdkprivate-quartz.h +++ b/gdk/quartz/gdkprivate-quartz.h @@ -154,14 +154,6 @@ gint _gdk_quartz_display_text_property_to_utf8_list (GdkDisplay *disp gchar * _gdk_quartz_display_utf8_to_string_target (GdkDisplay *displayt, const gchar *str); - -/* Display manager methods - events */ -GdkAtom _gdk_quartz_display_manager_atom_intern (GdkDisplayManager *manager, - const gchar *atom_name, - gboolean copy_name); -gchar * _gdk_quartz_display_manager_get_atom_name (GdkDisplayManager *manager, - GdkAtom atom); - /* Screen */ GdkScreen *_gdk_quartz_screen_new (void); void _gdk_quartz_screen_update_window_sizes (GdkScreen *screen); diff --git a/gdk/quartz/gdkproperty-quartz.c b/gdk/quartz/gdkproperty-quartz.c index f6c738ef4e..cfc62a389c 100644 --- a/gdk/quartz/gdkproperty-quartz.c +++ b/gdk/quartz/gdkproperty-quartz.c @@ -148,26 +148,6 @@ intern_atom_internal (const gchar *atom_name, gboolean allocate) return result; } -GdkAtom -_gdk_quartz_display_manager_atom_intern (GdkDisplayManager *manager, - const gchar *atom_name, - gboolean copy_name) -{ - return intern_atom_internal (atom_name, copy_name); -} - -gchar * -_gdk_quartz_display_manager_get_atom_name (GdkDisplayManager *manager, - GdkAtom atom) -{ - ensure_atom_tables (); - - if (GPOINTER_TO_INT (atom) >= atoms_to_names->len) - return NULL; - - return g_strdup (g_ptr_array_index (atoms_to_names, GPOINTER_TO_INT (atom))); -} - void _gdk_quartz_window_delete_property (GdkWindow *window, GdkAtom property) |