From fb5587837557d2bd076a7d8ccbeb8664d4e1b38d Mon Sep 17 00:00:00 2001 From: luz paz Date: Fri, 8 Apr 2022 14:09:37 -0400 Subject: [PATCH] Fix source typos (heirarchy->hierarchy) --- gtk2_ardour/ardour_ui_keys.cc | 6 +++--- libs/canvas/canvas.cc | 8 ++++---- libs/gtkmm2ext/gtk_ui.cc | 2 +- libs/pbd/transmitter.cc | 2 +- 4 files changed, 9 insertions(+), 9 deletions(-) diff --git a/gtk2_ardour/ardour_ui_keys.cc b/gtk2_ardour/ardour_ui_keys.cc index 99f11db984..3730c81107 100644 --- a/gtk2_ardour/ardour_ui_keys.cc +++ b/gtk2_ardour/ardour_ui_keys.cc @@ -104,7 +104,7 @@ ARDOUR_UI::key_event_handler (GdkEventKey* ev, Gtk::Window* event_window) } static Gtkmm2ext::Bindings* -get_bindings_from_widget_heirarchy (GtkWidget** w) +get_bindings_from_widget_hierarchy (GtkWidget** w) { void* p = NULL; @@ -198,7 +198,7 @@ ARDOUR_UI::key_press_focus_accelerator_handler (Gtk::Window& window, GdkEventKey while (focus) { - Gtkmm2ext::Bindings* focus_bindings = get_bindings_from_widget_heirarchy (&focus); + Gtkmm2ext::Bindings* focus_bindings = get_bindings_from_widget_hierarchy (&focus); if (focus_bindings) { DEBUG_TRACE (DEBUG::Accelerators, string_compose ("\tusing widget (%3) bindings %1 @ %2 for this event\n", focus_bindings->name(), focus_bindings, gtk_widget_get_name (focus))); @@ -257,7 +257,7 @@ ARDOUR_UI::key_press_focus_accelerator_handler (Gtk::Window& window, GdkEventKey while (focus) { - Gtkmm2ext::Bindings* focus_bindings = get_bindings_from_widget_heirarchy (&focus); + Gtkmm2ext::Bindings* focus_bindings = get_bindings_from_widget_hierarchy (&focus); if (focus_bindings) { DEBUG_TRACE (DEBUG::Accelerators, string_compose ("\tusing widget (%3) bindings %1 @ %2 for this event\n", focus_bindings->name(), focus_bindings, gtk_widget_get_name (focus))); diff --git a/libs/canvas/canvas.cc b/libs/canvas/canvas.cc index e7265d2070..9f7509312b 100644 --- a/libs/canvas/canvas.cc +++ b/libs/canvas/canvas.cc @@ -697,7 +697,7 @@ GtkCanvas::deliver_enter_leave (Duple const & point, int state) if (_current_item) { /* no current item, so also send virtual leave events to the - * entire heirarchy for the current item + * entire hierarchy for the current item */ for (i = _current_item->parent(); i ; i = i->parent()) { @@ -710,7 +710,7 @@ GtkCanvas::deliver_enter_leave (Duple const & point, int state) enter_detail = GDK_NOTIFY_UNKNOWN; /* no current item, so also send virtual enter events to the - * entire heirarchy for the new item + * entire hierarchy for the new item */ for (i = _new_current_item->parent(); i ; i = i->parent()) { @@ -723,7 +723,7 @@ GtkCanvas::deliver_enter_leave (Duple const & point, int state) * inferior ("child") of _new_current_item") * * Deliver "virtual" leave notifications to all items in the - * heirarchy between current and new_current. + * hierarchy between current and new_current. */ for (i = _current_item->parent(); i && i != _new_current_item; i = i->parent()) { @@ -738,7 +738,7 @@ GtkCanvas::deliver_enter_leave (Duple const & point, int state) * an inferior ("child") of _current_item") * * Deliver "virtual" enter notifications to all items in the - * heirarchy between current and new_current. + * hierarchy between current and new_current. */ for (i = _new_current_item->parent(); i && i != _current_item; i = i->parent()) { diff --git a/libs/gtkmm2ext/gtk_ui.cc b/libs/gtkmm2ext/gtk_ui.cc index 07b9aa4478..fa042ab2c3 100644 --- a/libs/gtkmm2ext/gtk_ui.cc +++ b/libs/gtkmm2ext/gtk_ui.cc @@ -389,7 +389,7 @@ UI::set_tip (Widget *w, const gchar *tip, const gchar *hlp) } if (action) { - /* get_bindings_from_widget_heirarchy */ + /* get_bindings_from_widget_hierarchy */ Widget* ww = w; Bindings* bindings = NULL; do { diff --git a/libs/pbd/transmitter.cc b/libs/pbd/transmitter.cc index 38ad1c2198..95328394ea 100644 --- a/libs/pbd/transmitter.cc +++ b/libs/pbd/transmitter.cc @@ -49,7 +49,7 @@ Transmitter::Transmitter (Channel c) case Throw: /* we should never call Transmitter::deliver for thrown messages (because its overridden in the - class heirarchy). force a segv if we do. + class hierarchy). force a segv if we do. */ send = 0; break;